Skip to content

Commit

Permalink
xe: conv: clean up log messages
Browse files Browse the repository at this point in the history
  • Loading branch information
echeresh committed Jan 30, 2025
1 parent a2cda6b commit 4c4a607
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 9 deletions.
3 changes: 1 addition & 2 deletions src/gpu/intel/jit/conv/tiler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1563,8 +1563,7 @@ class conv_tiler_impl_t {
case tiler_mode_t::lookup: {
const auto params = const_conv_lookup_table().find(cfg.key());
if (!params.is_empty() && chk.is_ok(params.blocking())) {
gpu_info() << "[INFO] Using lookup table config: "
<< params.str();
gpu_info() << "Using lookup table config: " << params.str();
params_gen_ = params_generator_t(tune_level, simd_size, chk,
level_tile_sets, params);
} else {
Expand Down
2 changes: 1 addition & 1 deletion src/gpu/intel/jit/ir/send_plan.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -579,7 +579,7 @@ std::vector<T> slice(const std::vector<T> &v, int start, int stop) {
}

const char *fail_2d_header() {
return "INFO: can't use 2D send. ";
return "Cannot use 2D send. ";
}

template <typename T0>
Expand Down
2 changes: 0 additions & 2 deletions src/gpu/intel/jit/pooling/gen_pooling.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -136,8 +136,6 @@ status_t gen_pooling_fwd_t::init(impl::engine_t *engine) {
gpu_assert(!t.needs_zero_out);

if (t.arg_key == DNNL_ARG_UNDEF) {
gpu_assert(!t.needs_reorder);
gpu_assert(!t.needs_zero_out);
gpu_error_not_expected();
continue;
}
Expand Down
2 changes: 0 additions & 2 deletions src/gpu/intel/jit/reorder/gen_reorder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -197,8 +197,6 @@ status_t gen_reorder_t::pd_t::init_kernel_info() {
gpu_assert(!t.needs_zero_out);

if (t.arg_key == DNNL_ARG_UNDEF) {
gpu_assert(!t.needs_reorder);
gpu_assert(!t.needs_zero_out);
gpu_error_not_expected();
continue;
}
Expand Down
3 changes: 1 addition & 2 deletions src/gpu/intel/jit/utils/trace.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,7 @@ ir_utils::debug_profiler_t &get_trace_profiler() {
void trace_pass(
const char *pass_name, const stmt_t &stmt, const ir_context_t &ir_ctx) {
trace_stop(pass_name);
gpu_trace() << "=== After " << pass_name;
gpu_trace() << stmt;
gpu_trace() << "=== After " << pass_name << "\n" << stmt;
auto grf_usage = get_grf_usage(stmt, ir_ctx.hw().grf_size());
if (!grf_usage.is_empty()) gpu_trace() << grf_usage;
gpu_trace() << ir_ctx.cset();
Expand Down

0 comments on commit 4c4a607

Please sign in to comment.