void syten::Cuda::initialise_handles | ( | ) |
Initialises the cublas handles for the currently allowed devices.
Can only be called once.
References syten::EnvVars::cuda_num_handles, get_allowed_devices(), handle_error(), handles, syten::logGD(), std::make_pair(), select_device(), and SYTEN_ASSERT_MSG.
Referenced by setup().