Skip to content

Commit

Permalink
Add NVGPUUtil bazel lib
Browse files Browse the repository at this point in the history
  • Loading branch information
Manish Gupta committed Jan 18, 2023
1 parent 98f36ac commit 1a1ddf0
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -2395,6 +2395,21 @@ cc_library(
],
)

cc_library(
name = "NVGPUUtils",
srcs = ["lib/Dialect/NVGPU/Utils/MMAUtils.cpp"],
hdrs = ["include/mlir/Dialect/NVGPU/Utils/MMAUtils.h"],
includes = ["include"],
deps = [
":AffineDialect",
":ArithDialect",
":IR",
":NVGPUDialect",
":NVVMDialect",
":VectorDialect",
],
)

cc_library(
name = "NVGPUTransforms",
srcs = [
Expand Down Expand Up @@ -8729,8 +8744,6 @@ cc_library(
srcs = glob([
"lib/Conversion/VectorToGPU/*.cpp",
"lib/Conversion/VectorToGPU/*.h",
"lib/Dialect/NVGPU/Utils/*.cpp",
"include/mlir/Dialect/NVGPU/Utils/*.h",
]),
hdrs = glob([
"include/mlir/Conversion/VectorToGPU/*.h",
Expand All @@ -8749,6 +8762,7 @@ cc_library(
":LLVMDialect",
":MemRefDialect",
":NVGPUDialect",
":NVGPUUtils",
":NVVMDialect",
":Pass",
":SCFDialect",
Expand Down

0 comments on commit 1a1ddf0

Please sign in to comment.