The ConvertVectorToGpu pass implementation contained a small private support library for performing various calculations during conversion between `vector` and `nvgpu.mma.sync` and `nvgpu.ldmatrix` operations. The support library is moved under `Dialect/NVGPU/Utils` because the functions have wider utility. Some documentation comments are added or improved. Reviewed By: ThomasRaoux Differential Revision: https://reviews.llvm.org/D135303
21 lines
354 B
CMake
21 lines
354 B
CMake
add_mlir_conversion_library(MLIRVectorToGPU
|
|
VectorToGPU.cpp
|
|
|
|
ADDITIONAL_HEADER_DIRS
|
|
${MLIR_MAIN_INCLUDE_DIR}/mlir/Conversion/VectorToGPU
|
|
|
|
LINK_COMPONENTS
|
|
Core
|
|
|
|
LINK_LIBS PUBLIC
|
|
MLIRArithDialect
|
|
MLIRGPUOps
|
|
MLIRLLVMDialect
|
|
MLIRMemRefDialect
|
|
MLIRNVGPUDialect
|
|
MLIRNVGPUUtils
|
|
MLIRTransforms
|
|
MLIRVectorDialect
|
|
MLIRVectorUtils
|
|
)
|