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.
1 parent e53e52f commit 171d356Copy full SHA for 171d356
src/provider/provider_cuda.c
@@ -68,6 +68,7 @@ umf_memory_provider_ops_t *umfCUDAMemoryProviderOps(void) {
68
#endif // _MSC_VER
69
70
#include "base_alloc_global.h"
71
+#include "libumf.h"
72
#include "utils_assert.h"
73
#include "utils_common.h"
74
#include "utils_concurrency.h"
@@ -201,6 +202,7 @@ static void init_cu_global_state(void) {
201
202
203
umf_result_t umfCUDAMemoryProviderParamsCreate(
204
umf_cuda_memory_provider_params_handle_t *hParams) {
205
+ libumfInit();
206
if (!hParams) {
207
LOG_ERR("CUDA Memory Provider params handle is NULL");
208
return UMF_RESULT_ERROR_INVALID_ARGUMENT;
0 commit comments