Skip to content

Commit

Permalink
added include for 'compute_kernel_api.h' that declares max_* ops
Browse files Browse the repository at this point in the history
  • Loading branch information
vroubtsovTT committed Nov 20, 2024
1 parent 963c395 commit be3757f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/Conversion/TTKernelToEmitC/TTKernelToEmitC.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -475,6 +475,8 @@ class ThreadConfigHelper {
builder->create<emitc::IncludeOp>(loc,
"compute_kernel_api/eltwise_binary.h",
/*isStandard=*/false);
builder->create<emitc::IncludeOp>(loc, "compute_kernel_api.h", // max ops
/*isStandard=*/false);
builder->create<emitc::IncludeOp>(loc,
"compute_kernel_api/tile_move_copy.h",
/*isStandard=*/false);
Expand Down

0 comments on commit be3757f

Please sign in to comment.