-
Notifications
You must be signed in to change notification settings - Fork 110
Open
Description
On latest develop and cuda 13.0, I'm hitting this compiler error:
/home/mlohry/dev/build-cuda/external/raja/include/RAJA/policy/cuda/MemUtils_CUDA.hpp(147): error: no suitable constructor exists to convert from "int" to "cudaMemLocation"
do { cudaError_t code_56792578 = cudaMemAdvise(ptr, nbytes, cudaMemAdviseSetPreferredLocation, device); if (code_56792578 != cudaSuccess && code_56792578 != cudaErrorNotReady) { static constexpr auto func_name_56792578 = "cudaMemAdvise"; static constexpr auto arg_names_56792578 = ::camp::experimental::cuda_get_api_arg_names(func_name_56792578); ::camp::reportError( "CUDA", cudaGetErrorString(code_56792578), func_name_56792578, arg_names_56792578, std::forward_as_tuple(ptr, nbytes, cudaMemAdviseSetPreferredLocation, device), "/home/mlohry/dev/build-cuda/external/raja/include/RAJA/policy/cuda/MemUtils_CUDA.hpp", 147); } } while (false)
^
/home/mlohry/dev/build-cuda/external/raja/include/RAJA/policy/cuda/MemUtils_CUDA.hpp(149): error: no suitable constructor exists to convert from "int" to "cudaMemLocation"
((int)-1)
^
Looks like a camp issue in CAMP_CUDA_API_INVOKE_AND_CHECK.
Metadata
Metadata
Assignees
Labels
No labels