diff --git a/source/adapters/cuda/enqueue.cpp b/source/adapters/cuda/enqueue.cpp index c752c3fd14..f9e3f7da76 100644 --- a/source/adapters/cuda/enqueue.cpp +++ b/source/adapters/cuda/enqueue.cpp @@ -114,10 +114,13 @@ ur_result_t setCuMemAdvise(CUdeviceptr DevPtr, size_t Size, } } - std::array UnmappedMemAdviceFlags = { + std::array UnmappedMemAdviceFlags = { UR_USM_ADVICE_FLAG_SET_NON_ATOMIC_MOSTLY, UR_USM_ADVICE_FLAG_CLEAR_NON_ATOMIC_MOSTLY, - UR_USM_ADVICE_FLAG_BIAS_CACHED, UR_USM_ADVICE_FLAG_BIAS_UNCACHED}; + UR_USM_ADVICE_FLAG_BIAS_CACHED, + UR_USM_ADVICE_FLAG_BIAS_UNCACHED, + UR_USM_ADVICE_FLAG_SET_NON_COHERENT_MEMORY, + UR_USM_ADVICE_FLAG_CLEAR_NON_COHERENT_MEMORY}; for (auto &UnmappedFlag : UnmappedMemAdviceFlags) { if (URAdviceFlags & UnmappedFlag) {