SyTen

◆ max_element_idx() [2/4]

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

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

References get_handle(), handle_error(), host_device(), SYTEN_ASSERT_MSG, SYTEN_BLAS_THREADS_SETUP, and SYTEN_BLAS_THREADS_TEARDOWN.

Referenced by max_element().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: