Skip to content

Commit

Permalink
Merge branch 'yuxiang/amd' of https://github.com/Azure/MS-AMP into yu…
Browse files Browse the repository at this point in the history
…xiang/amd
  • Loading branch information
wenchenvincent committed Jan 30, 2024
2 parents 2bf6f89 + f47342f commit fcbabf9
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 fcbabf9

Please sign in to comment.