Skip to content

Commit

Permalink
build succeed on Nvidia GPU
Browse files Browse the repository at this point in the history
  • Loading branch information
tocean authored and wenchenvincent committed Jan 30, 2024
1 parent 6cc7af8 commit 5d2f9b1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions csrc/extensions/operators/arithmetic.cu
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@

namespace msamp {

#ifdef __HIP_PLATFORM_AMD__
__device__ msamp::DeviceSyncer device_syncer;
#endif

void add_to_fp8(at::Tensor fp8_tensor,
at::Tensor scale,
Expand Down

0 comments on commit 5d2f9b1

Please sign in to comment.