You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was trying to get the cupoch library to work for a jetson nano with Cuda 12.16. The only option was to compile it from source with minor changes on the source code. The issue seem to be due to some changes made in the abi of nvidia library. More info can be found in this issue. NVIDIA/cccl#2737.
In order for it to work, I had to make some changes,
Include the following in the main cmakelist as follows:
# Specify the THRUST_WRAPPED_NAMESPACE and CUB_WRAPPED_NAMESPACE variables
set(THRUST_WRAPPED_NAMESPACE wrapped_thrust)
set(CUB_WRAPPED_NAMESPACE wrapped_cub)
# Add definitions
add_definitions(-DTHRUST_WRAPPED_NAMESPACE=${THRUST_WRAPPED_NAMESPACE})
add_definitions(-DCUB_WRAPPED_NAMESPACE=${CUB_WRAPPED_NAMESPACE})
Change all thrust:: namespace to ::wrapped_thrust::thrust.
In locations where the following was defined-> namespace thrust, I change it to namespace wrapped_thrust::thrust.
I am not really happy with the changes in the source file, but it is temporal, if you get any elegant solution, it would be nice.
The text was updated successfully, but these errors were encountered:
I was trying to get the cupoch library to work for a jetson nano with Cuda 12.16. The only option was to compile it from source with minor changes on the source code. The issue seem to be due to some changes made in the abi of nvidia library. More info can be found in this issue. NVIDIA/cccl#2737.
In order for it to work, I had to make some changes,
I am not really happy with the changes in the source file, but it is temporal, if you get any elegant solution, it would be nice.
The text was updated successfully, but these errors were encountered: