@@ -788,6 +788,16 @@ def FeatureFlatAtomicFaddF32Inst
788788 "Has flat_atomic_add_f32 instruction"
789789>;
790790
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+
791801def FeatureDefaultComponentZero : SubtargetFeature<"default-component-zero",
792802 "HasDefaultComponentZero",
793803 "true",
@@ -1207,7 +1217,8 @@ def FeatureGFX12 : GCNSubtargetFeatureGeneration<"GFX12",
12071217 FeatureUnalignedBufferAccess, FeatureUnalignedDSAccess,
12081218 FeatureTrue16BitInsts, FeatureDefaultComponentBroadcast,
12091219 FeatureMaxHardClauseLength32,
1210- FeatureAtomicFMinFMaxF32GlobalInsts, FeatureAtomicFMinFMaxF32FlatInsts
1220+ FeatureAtomicFMinFMaxF32GlobalInsts, FeatureAtomicFMinFMaxF32FlatInsts,
1221+ FeatureAgentScopeFineGrainedRemoteMemoryAtomics
12111222 ]
12121223>;
12131224
@@ -1415,7 +1426,8 @@ def FeatureISAVersion9_4_Common : FeatureSet<
14151426 FeatureBackOffBarrier,
14161427 FeatureKernargPreload,
14171428 FeatureAtomicFMinFMaxF64GlobalInsts,
1418- FeatureAtomicFMinFMaxF64FlatInsts
1429+ FeatureAtomicFMinFMaxF64FlatInsts,
1430+ FeatureAgentScopeFineGrainedRemoteMemoryAtomics
14191431 ]>;
14201432
14211433def FeatureISAVersion9_4_0 : FeatureSet<
0 commit comments