Skip to content

Commit

Permalink
Revert enabling inline assembly from #239 (#262)
Browse files Browse the repository at this point in the history
This reverts enabling inline assembly for gfx90a and gfx1030, which
was introduced as workaround for a compiler bug since fixed.
Enabling inline assembly negatively affects the performance for these
architectures in some cases.
  • Loading branch information
Mészáros Gergely authored Apr 4, 2022
1 parent a588270 commit ba09641
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions library/include/rocrand/rocrand_common.h
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,7 @@ namespace detail {
defined(__gfx904__) || \
defined(__gfx906__) || \
defined(__gfx908__) || \
defined(__gfx909__) || \
defined(__gfx90a__) || \
defined(__gfx1030__))
defined(__gfx909__) )
#if !defined(ROCRAND_ENABLE_INLINE_ASM)
#define ROCRAND_ENABLE_INLINE_ASM
#endif
Expand Down

0 comments on commit ba09641

Please sign in to comment.