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::Cuda::CudaStream::sync_destroy(), SYTEN_ASSERT_MSG, SYTEN_BLAS_THREADS_SETUP, and SYTEN_BLAS_THREADS_TEARDOWN.
Referenced by max_element().