We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 76c62fd + 94278b1 commit 1ab256bCopy full SHA for 1ab256b
opal/mca/accelerator/cuda/accelerator_cuda_component.c
@@ -188,15 +188,7 @@ static opal_accelerator_base_module_t* accelerator_cuda_init(void)
188
if (!opal_cuda_support) {
189
return NULL;
190
}
191
- int count = 0;
192
- /* If cuInit fails or there are no cuda capable devices, return NULL. */
193
- if (cuInit(0)) {
194
- return NULL;
195
- }
196
- CUresult ret = cuDeviceGetCount(&count);
197
- if (ret || count == 0) {
198
199
+
200
opal_accelerator_cuda_delayed_init();
201
return &opal_accelerator_cuda_module;
202
0 commit comments