File tree Expand file tree Collapse file tree 3 files changed +1
-8
lines changed
Optimizer/OpenCLPasses/PrivateMemory Expand file tree Collapse file tree 3 files changed +1
-8
lines changed Original file line number Diff line number Diff line change @@ -47,9 +47,6 @@ namespace TC
47
47
bool HasMemoryIntrinsics () const override { return true ; }
48
48
49
49
bool HasNonNativeLoadStore () const override { return true ; }
50
-
51
- // WA for failure when transposing private memory
52
- bool SupportTransposeLayoutForPrivateMemory () const override { return false ; }
53
50
54
51
bool NeedLoweringInlinedConstants () const override { return true ; }
55
52
bool benefitFromTypeDemotion () const override { return true ; }
Original file line number Diff line number Diff line change @@ -122,9 +122,6 @@ class CDriverInfo
122
122
// / Has load store not natively supported
123
123
virtual bool HasNonNativeLoadStore () const { return false ; }
124
124
125
- // / Enable transposing private memory for better access pattern. Causes failures in some APIs
126
- virtual bool SupportTransposeLayoutForPrivateMemory () const { return true ; }
127
-
128
125
// / Need lowering global inlined constant buffers
129
126
virtual bool NeedLoweringInlinedConstants () const { return false ; }
130
127
Original file line number Diff line number Diff line change @@ -815,8 +815,7 @@ bool PrivateMemoryResolution::resolveAllocaInstuctions(bool stackCall)
815
815
816
816
// If we can use SOA layout transpose the memory
817
817
Type* pTypeOfAccessedObject = nullptr ;
818
- bool TransposeMemLayout = CanUseSOALayout (pAI, pTypeOfAccessedObject) &&
819
- Ctx.m_DriverInfo .SupportTransposeLayoutForPrivateMemory (); // remove this check in next step
818
+ bool TransposeMemLayout = CanUseSOALayout (pAI, pTypeOfAccessedObject);
820
819
821
820
unsigned int bufferSize = 0 ;
822
821
if (TransposeMemLayout)
You can’t perform that action at this time.
0 commit comments