Skip to content
This repository has been archived by the owner on May 14, 2024. It is now read-only.

Commit

Permalink
Avoid GWS on GFX11
Browse files Browse the repository at this point in the history
Change-Id: Ife695fc8c952252104394c869bb2023b63586b53
  • Loading branch information
b-sumner authored and searlmc1 committed Oct 16, 2023
1 parent b004ed0 commit 80cfbd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ockl/src/cg.cl
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#define AL(P,S) __opencl_atomic_load((__global atomic_uint *)P, memory_order_relaxed, S)
#define AA(P,V,S) __opencl_atomic_fetch_add((__global atomic_uint *)P, V, memory_order_relaxed, S)

#define AVOID_GWS() (__oclc_ISA_version == 9400 || __oclc_ISA_version == 9401 || __oclc_ISA_version == 9402)
#define AVOID_GWS() (__oclc_ISA_version == 9400 || __oclc_ISA_version == 9401 || __oclc_ISA_version == 9402 || __oclc_ISA_version >= 11000)

// XXX do not change these two structs without changing the language runtime
struct mg_sync {
Expand Down

0 comments on commit 80cfbd1

Please sign in to comment.