@@ -788,6 +788,14 @@ 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 not directly supported by "
796+ "PCIe work for allocations in host or peer PCIe device memory"
797+ >;
798+
791799def FeatureDefaultComponentZero : SubtargetFeature<"default-component-zero",
792800 "HasDefaultComponentZero",
793801 "true",
@@ -1207,7 +1215,8 @@ def FeatureGFX12 : GCNSubtargetFeatureGeneration<"GFX12",
12071215 FeatureUnalignedBufferAccess, FeatureUnalignedDSAccess,
12081216 FeatureTrue16BitInsts, FeatureDefaultComponentBroadcast,
12091217 FeatureMaxHardClauseLength32,
1210- FeatureAtomicFMinFMaxF32GlobalInsts, FeatureAtomicFMinFMaxF32FlatInsts
1218+ FeatureAtomicFMinFMaxF32GlobalInsts, FeatureAtomicFMinFMaxF32FlatInsts,
1219+ FeatureAgentScopeFineGrainedRemoteMemoryAtomics
12111220 ]
12121221>;
12131222
@@ -1415,7 +1424,8 @@ def FeatureISAVersion9_4_Common : FeatureSet<
14151424 FeatureBackOffBarrier,
14161425 FeatureKernargPreload,
14171426 FeatureAtomicFMinFMaxF64GlobalInsts,
1418- FeatureAtomicFMinFMaxF64FlatInsts
1427+ FeatureAtomicFMinFMaxF64FlatInsts,
1428+ FeatureAgentScopeFineGrainedRemoteMemoryAtomics
14191429 ]>;
14201430
14211431def FeatureISAVersion9_4_0 : FeatureSet<
0 commit comments