Skip to content

Commit

Permalink
Add CM_HAS_LSC_LOAD_L1RI_L3CA_HINT macro
Browse files Browse the repository at this point in the history
Add CM_HAS_LSC_LOAD_L1RI_L3CA_HINT macro to check whether L1 read invalidate L3
cached combination is legal
  • Loading branch information
Anton Sidorenko committed Mar 2, 2022
1 parent 25cbf42 commit 139a3a7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions clang/lib/Headers/cm/include/cm/cm_has_instr.h
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,9 @@ namespace CheckVersion {
#else
#define CM_HAS_STOCHASTIC_ROUNDING_CONTROL CM_HAS_CONTROL(false)
#endif
#if (CM_GENX <= 1280)
#define CM_HAS_LSC_LOAD_L1RI_L3CA_HINT 1
#endif

#else // CM_HAS_CONTROL
CM_STATIC_ERROR(0, "Redeclaration of CM_HAS_CONTROL! It's used for control version of features!");
Expand Down

0 comments on commit 139a3a7

Please sign in to comment.