diff --git a/hipcub/include/hipcub/backend/rocprim/thread/thread_load.hpp b/hipcub/include/hipcub/backend/rocprim/thread/thread_load.hpp index ef0e2d64..cba30173 100644 --- a/hipcub/include/hipcub/backend/rocprim/thread/thread_load.hpp +++ b/hipcub/include/hipcub/backend/rocprim/thread/thread_load.hpp @@ -67,7 +67,7 @@ HIPCUB_DEVICE __forceinline__ T AsmThreadLoad(void * ptr) { \ interim_type retval; \ asm volatile(#asm_operator " %0, %1 " llvm_cache_modifier "\n\t" \ - wait_inst wait_cmd "(%2)" \ + #wait_inst wait_cmd "(%2)" \ : "=" #output_modifier(retval) \ : "v"(ptr), "I"(0x00)); \ return retval; \ diff --git a/hipcub/include/hipcub/backend/rocprim/thread/thread_store.hpp b/hipcub/include/hipcub/backend/rocprim/thread/thread_store.hpp index 1cbb29d4..3108feee 100644 --- a/hipcub/include/hipcub/backend/rocprim/thread/thread_store.hpp +++ b/hipcub/include/hipcub/backend/rocprim/thread/thread_store.hpp @@ -69,7 +69,7 @@ HIPCUB_DEVICE __forceinline__ void AsmThreadStore(void * ptr, T val) { \ interim_type temp_val = val; \ asm volatile(#asm_operator " %0, %1 " llvm_cache_modifier "\n\t" \ - wait_inst wait_cmd "(%2)" \ + #wait_inst wait_cmd "(%2)" \ : : "v"(ptr), #output_modifier(temp_val), "I"(0x00)); \ }