Skip to content

Commit

Permalink
xe: jit: use F pipe for zero initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
echeresh committed Dec 13, 2024
1 parent 76862cc commit 0fd3b73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gpu/intel/jit/codegen/codegen.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -522,7 +522,7 @@ class ir_to_ngen_t : public ir_visitor_t {
void fill_buf(const ngen_operand_t &buf_op, int size,
const ngen_operand_t &pattern = {}) const {
auto &rd = buf_op.reg_buf_data();
type_t type = type_t::u32();
type_t type = (pattern.is_invalid() ? type_t::f32() : type_t::u32());
int grf_size = ngen::GRF::bytes(hw);
int step = 2 * grf_size;
for (int i = 0; i < size; i += step) {
Expand Down

0 comments on commit 0fd3b73

Please sign in to comment.