The cudagetdevicecount function requires a valid CUDA context to be established before it can be called. Ensure that the necessary CUDA context initialization functions, such as cudaSetDevice, are properly called before calling cudagetdevicecount. Step 6: Rebuild andretry After making the appropriate ...
(cudaSetDevice(previous_)); ^~~~ ../third_party/gloo/gloo/common/logging.h:141:58: note: in C++11 destructors default to noexcept r.get_message_and_free(MakeString(__VA_ARGS__))); \ ^ ../third_party/gloo/gloo/common/logging.h:150:3: note: in expansion of macro ‘GLOO_ENFORCE_...
The cudagetdevicecount function requires a valid CUDA context to be established before it can be called. Ensure that the necessary CUDA context initialization functions, such as cudaSetDevice, are properly called before calling cudagetdevicecount. Step 6: Rebuild and retry After making the appropriate ...