@@ -788,6 +788,16 @@ def FeatureFlatAtomicFaddF32Inst
788
788
"Has flat_atomic_add_f32 instruction"
789
789
>;
790
790
791
+ def FeatureAgentScopeFineGrainedRemoteMemoryAtomics
792
+ : SubtargetFeature<"agent-scope-fine-grained-remote-memory-atomics",
793
+ "HasAgentScopeFineGrainedRemoteMemoryAtomics",
794
+ "true",
795
+ "Agent (device) scoped atomic operations, excluding those directly "
796
+ "supported by PCIe (i.e. integer atomic add, exchange, and "
797
+ "compare-and-swap), are functional for allocations in host or peer "
798
+ "device memory."
799
+ >;
800
+
791
801
def FeatureDefaultComponentZero : SubtargetFeature<"default-component-zero",
792
802
"HasDefaultComponentZero",
793
803
"true",
@@ -1207,7 +1217,8 @@ def FeatureGFX12 : GCNSubtargetFeatureGeneration<"GFX12",
1207
1217
FeatureUnalignedBufferAccess, FeatureUnalignedDSAccess,
1208
1218
FeatureTrue16BitInsts, FeatureDefaultComponentBroadcast,
1209
1219
FeatureMaxHardClauseLength32,
1210
- FeatureAtomicFMinFMaxF32GlobalInsts, FeatureAtomicFMinFMaxF32FlatInsts
1220
+ FeatureAtomicFMinFMaxF32GlobalInsts, FeatureAtomicFMinFMaxF32FlatInsts,
1221
+ FeatureAgentScopeFineGrainedRemoteMemoryAtomics
1211
1222
]
1212
1223
>;
1213
1224
@@ -1415,7 +1426,8 @@ def FeatureISAVersion9_4_Common : FeatureSet<
1415
1426
FeatureBackOffBarrier,
1416
1427
FeatureKernargPreload,
1417
1428
FeatureAtomicFMinFMaxF64GlobalInsts,
1418
- FeatureAtomicFMinFMaxF64FlatInsts
1429
+ FeatureAtomicFMinFMaxF64FlatInsts,
1430
+ FeatureAgentScopeFineGrainedRemoteMemoryAtomics
1419
1431
]>;
1420
1432
1421
1433
def FeatureISAVersion9_4_0 : FeatureSet<
0 commit comments