File tree Expand file tree Collapse file tree
third_party/amd/lib/TritonAMDGPUToLLVM Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -675,6 +675,12 @@ bool TargetInfo::supportVectorizedAtomics() const {
675675 return true ;
676676}
677677
678+ bool TargetInfo::supportBitwidth16Elementwise () const { return true ; }
679+
680+ bool TargetInfo::supportBitwidth32Elementwise () const {
681+ return getISAFamily () == ISAFamily::GFX1250;
682+ }
683+
678684bool TargetInfo::supportsDirectToLDSScattering () const {
679685 switch (getISAFamily ()) {
680686 case ISAFamily::GFX1250:
Original file line number Diff line number Diff line change @@ -98,6 +98,9 @@ class TargetInfo : public mlir::triton::TargetInfoBase {
9898
9999 bool supportVectorizedAtomics () const override ;
100100
101+ bool supportBitwidth16Elementwise () const override ;
102+ bool supportBitwidth32Elementwise () const override ;
103+
101104 // Returns true if the target supports per lane addresses into LDS for
102105 // direct-to-lds loads. Some architectures (e.g. GFX9) do not support
103106 // scattering and instead have to write warp coalesced into LDS
You can’t perform that action at this time.
0 commit comments