Skip to content

Commit

Permalink
add thrust macros for rocm6.3
Browse files Browse the repository at this point in the history
  • Loading branch information
lcskrishna committed Jan 9, 2025
1 parent 25b5b33 commit c132d18
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions install/cupy_builder/install_build.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,7 @@ def get_compiler_setting(ctx: Context, use_hip):

if use_hip:
extra_compile_args.append('-std=c++11')
define_macros.append(('THRUST_DEVICE_SYSTEM', 'THRUST_DEVICE_SYSTEM_HIP'))

if PLATFORM_WIN32:
nvtx_path = _environment.get_nvtx_path()
Expand Down

0 comments on commit c132d18

Please sign in to comment.