Skip to content

Commit

Permalink
[Fix][GPU] fix xetla compile failure (#2395)
Browse files Browse the repository at this point in the history
  • Loading branch information
yitingw1 authored Sep 15, 2023
1 parent df76fef commit 81be8b0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions itex/core/kernels/gpu/xetla/mlp_op_gpu.h
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ struct fused_dense_func {
kernel::gemm_t<kernel::dispatch_policy_default<gpu_arch::Xe>, brgemm_t,
epilogue_t>;

static constexpr uint32_t barrier_count = gemm_op_t::brgemm_t::barrier_count;
static constexpr uint32_t slm_size = gemm_op_t::brgemm_t::slm_size;
static constexpr uint32_t barrier_count = gemm_op_t::get_barrier_count();
static constexpr uint32_t slm_size = gemm_op_t::get_slm_size();

static inline void run(xetla_exec_item<3>* ei, dtype_a* A, dtype_b* B,
dtype_c* C, dtype_c* bias, uint32_t mat_m,
Expand Down

0 comments on commit 81be8b0

Please sign in to comment.