Skip to content

Commit 3dc0f4d

Browse files
[SYCL] Restore the correct initialization for _statically_coalesce_val (#4206)
Patch #3957 introduces `_statically_coalesce_val` in fpga_lsu.cpp like this: ``` _GetValue<statically_coalesce_impl<1>, _mem_access_params...>::value; ``` During merge conflict resolution in #4014 it was change accidentally to ``` _GetValue<statically_coalesce_impl<0>, _mem_access_params...>::value; ``` Restoring the right value.
1 parent c1324e6 commit 3dc0f4d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sycl/include/sycl/ext/intel/fpga_lsu.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ template <class... _mem_access_params> class lsu final {
9090
static constexpr uint8_t _cache = (_cache_val > 0) ? CACHE : 0;
9191

9292
static constexpr int32_t _statically_coalesce_val =
93-
_GetValue<statically_coalesce_impl<0>, _mem_access_params...>::value;
93+
_GetValue<statically_coalesce_impl<1>, _mem_access_params...>::value;
9494
static constexpr uint8_t _dont_statically_coalesce =
9595
_statically_coalesce_val == 0 ? STATICALLY_COALESCE : 0;
9696

0 commit comments

Comments
 (0)