SyTen

◆ max_element_idx() [3/4]

std::size_t syten::Cuda::max_element_idx ( CudaConstSpan< std::complex< double > >  inp)

Returns the 0-based index of the absolute-value maximal element of the range.

References get_handle(), handle_error(), host_device(), syten::Cuda::CudaStream::sync_destroy(), SYTEN_ASSERT_MSG, SYTEN_BLAS_THREADS_SETUP, and SYTEN_BLAS_THREADS_TEARDOWN.

+ Here is the call graph for this function: