Skip to content

Commit

Permalink
Disable the inline assembly for MI200 (#346)
Browse files Browse the repository at this point in the history
* Revert "Remove inline assembly warning for gfx90a target (#332)"

This reverts commit 19325b4.

* Remove warning message only
  • Loading branch information
RobsonRLemos committed Jun 13, 2023
1 parent c659eac commit 39d1b4d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions library/include/rocrand/rocrand_common.h
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,10 @@ namespace detail {
#if !defined(ROCRAND_ENABLE_INLINE_ASM)
#define ROCRAND_ENABLE_INLINE_ASM
#endif
#else
#if defined(__HIP_DEVICE_COMPILE__) && defined(ROCRAND_ENABLE_INLINE_ASM)
#undef ROCRAND_ENABLE_INLINE_ASM
#endif
#endif

FQUALIFIERS
Expand Down

0 comments on commit 39d1b4d

Please sign in to comment.