You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

BUILD 1.6 kB

1234567891011121314151617181920212223
  1. load("list.bzl", "cutlass_gen_list")
  2. genrule(
  3. name = "cutlass_kimpls",
  4. outs = cutlass_gen_list,
  5. cmd = """GEN=$(location //brain/megbrain/dnn/scripts/cutlass_generator:generator.py)
  6. CUTLASS_WITH_LONG_PATH=true python3 $$GEN --operations gemm --type simt $(@D)
  7. CUTLASS_WITH_LONG_PATH=true python3 $$GEN --operations gemm --type tensorop884 $(@D)
  8. CUTLASS_WITH_LONG_PATH=true python3 $$GEN --operations gemm --type tensorop1688 $(@D)
  9. CUTLASS_WITH_LONG_PATH=true python3 $$GEN --operations gemv --type simt $(@D)
  10. CUTLASS_WITH_LONG_PATH=true python3 $$GEN --operations deconv --type simt $(@D)
  11. CUTLASS_WITH_LONG_PATH=true python3 $$GEN --operations deconv --type tensorop8816 $(@D)
  12. CUTLASS_WITH_LONG_PATH=true python3 $$GEN --operations conv2d --type simt $(@D)
  13. CUTLASS_WITH_LONG_PATH=true python3 $$GEN --operations conv2d --type tensorop8816 $(@D)
  14. CUTLASS_WITH_LONG_PATH=true python3 $$GEN --operations conv2d --type tensorop8832 $(@D)
  15. CUTLASS_WITH_LONG_PATH=true python3 $$GEN --operations dwconv2d_fprop --type simt $(@D)
  16. CUTLASS_WITH_LONG_PATH=true python3 $$GEN --operations dwconv2d_fprop --type tensorop884 $(@D)
  17. CUTLASS_WITH_LONG_PATH=true python3 $$GEN --operations dwconv2d_dgrad --type simt $(@D)
  18. CUTLASS_WITH_LONG_PATH=true python3 $$GEN --operations dwconv2d_dgrad --type tensorop884 $(@D)
  19. """,
  20. tools = ["//brain/megbrain/dnn/scripts/cutlass_generator:generator.py"],
  21. visibility = ["//visibility:public"],
  22. )