@@ -69,7 +69,7 @@ __ESIMD_INTRIN void __esimd_raw_send_nbarrier_signal(
69
69
// /
70
70
// / @tparam Ty is element type.
71
71
// / @tparam L1H is L1 cache hint.
72
- // / @tparam L3H is L3 cache hint.
72
+ // / @tparam L2H is L2 cache hint.
73
73
// / @tparam AddressScale is the address scale.
74
74
// / @tparam ImmOffset is the immediate offset added to each address.
75
75
// / @tparam DS is the data size.
@@ -80,7 +80,7 @@ __ESIMD_INTRIN void __esimd_raw_send_nbarrier_signal(
80
80
// / @param pred is predicates.
81
81
// / @param offsets is the zero-based offsets in bytes.
82
82
// / @param surf_ind is the surface index.
83
- template <typename Ty, __ESIMD_ENS::cache_hint L1H, __ESIMD_ENS::cache_hint L3H ,
83
+ template <typename Ty, __ESIMD_ENS::cache_hint L1H, __ESIMD_ENS::cache_hint L2H ,
84
84
uint16_t AddressScale, int ImmOffset, __ESIMD_ENS::lsc_data_size DS,
85
85
__ESIMD_EDNS::lsc_vector_size VS,
86
86
__ESIMD_EDNS::lsc_data_order _Transposed, int N,
@@ -98,7 +98,7 @@ __esimd_lsc_prefetch_bti(__ESIMD_DNS::simd_mask_storage_t<N> pred,
98
98
// /
99
99
// / @tparam Ty is element type.
100
100
// / @tparam L1H is L1 cache hint.
101
- // / @tparam L3H is L3 cache hint.
101
+ // / @tparam L2H is L2 cache hint.
102
102
// / @tparam DS is the data size.
103
103
// / @tparam Transposed is the transposed version or not.
104
104
// / @tparam NBlocks is the number of blocks.
@@ -120,7 +120,7 @@ __esimd_lsc_prefetch_bti(__ESIMD_DNS::simd_mask_storage_t<N> pred,
120
120
// / otherwise,
121
121
// / N = roundUpNextMultiple(BlockHeight, 4 / sizeof(T)) *
122
122
// / getNextPowerOf2(BlockWidth) * NBlocks
123
- template <typename Ty, __ESIMD_ENS::cache_hint L1H, __ESIMD_ENS::cache_hint L3H ,
123
+ template <typename Ty, __ESIMD_ENS::cache_hint L1H, __ESIMD_ENS::cache_hint L2H ,
124
124
__ESIMD_ENS::lsc_data_size DS,
125
125
__ESIMD_EDNS::lsc_data_order _Transposed, uint8_t NBlocks,
126
126
int BlockWidth, int BlockHeight, bool Transformed, int N>
@@ -136,7 +136,7 @@ __esimd_lsc_load2d_stateless(__ESIMD_DNS::simd_mask_storage_t<N> Pred,
136
136
// /
137
137
// / @tparam Ty is element type.
138
138
// / @tparam L1H is L1 cache hint.
139
- // / @tparam L3H is L3 cache hint.
139
+ // / @tparam L2H is L2 cache hint.
140
140
// / @tparam DS is the data size.
141
141
// / @tparam NBlocks is the number of blocks.
142
142
// / @tparam Transposed is the transposed version or not.
@@ -153,7 +153,7 @@ __esimd_lsc_load2d_stateless(__ESIMD_DNS::simd_mask_storage_t<N> Pred,
153
153
// / number of elements.
154
154
// / @param Y is zero based Y-coordinate of the left upper rectangle corner in
155
155
// / rows.
156
- template <typename Ty, __ESIMD_ENS::cache_hint L1H, __ESIMD_ENS::cache_hint L3H ,
156
+ template <typename Ty, __ESIMD_ENS::cache_hint L1H, __ESIMD_ENS::cache_hint L2H ,
157
157
__ESIMD_ENS::lsc_data_size DS,
158
158
__ESIMD_EDNS::lsc_data_order _Transposed, uint8_t NBlocks,
159
159
int BlockWidth, int BlockHeight, bool Transformed, int N>
@@ -168,7 +168,7 @@ __ESIMD_INTRIN void __esimd_lsc_prefetch2d_stateless(
168
168
// /
169
169
// / @tparam Ty is element type.
170
170
// / @tparam L1H is L1 cache hint.
171
- // / @tparam L3H is L3 cache hint.
171
+ // / @tparam L2H is L2 cache hint.
172
172
// / @tparam DS is the data size.
173
173
// / @tparam Transposed is the transposed version or not.
174
174
// / @tparam NBlocks is the number of blocks.
@@ -190,7 +190,7 @@ __ESIMD_INTRIN void __esimd_lsc_prefetch2d_stateless(
190
190
// / otherwise,
191
191
// / N = roundUpNextMultiple(BlockHeight, 4 / sizeof(T)) *
192
192
// / getNextPowerOf2(BlockWidth) * NBlocks
193
- template <typename Ty, __ESIMD_ENS::cache_hint L1H, __ESIMD_ENS::cache_hint L3H ,
193
+ template <typename Ty, __ESIMD_ENS::cache_hint L1H, __ESIMD_ENS::cache_hint L2H ,
194
194
__ESIMD_ENS::lsc_data_size DS,
195
195
__ESIMD_EDNS::lsc_data_order _Transposed, uint8_t NBlocks,
196
196
int BlockWidth, int BlockHeight, bool Transformed, int N>
0 commit comments