-
Notifications
You must be signed in to change notification settings - Fork 0
/
BUILD
80 lines (68 loc) · 1.24 KB
/
BUILD
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
load("//tensorflow:tensorflow.bzl", "tf_custom_op_library")
cc_library(
name = "taco",
hdrs = glob(["include/**/*.h"]),
srcs = ["libtaco.a"],
visibility = ["//visibility:public"],
)
tf_custom_op_library(
name = "fact.so",
srcs = ["fact.cc"],
deps = [
],
)
tf_custom_op_library(
name = "noop.so",
srcs = ["noop.cc"],
deps = [
],
)
tf_custom_op_library(
name = "zero_out.so",
srcs = ["zero_out.cc"],
deps = [
":taco"
],
)
tf_custom_op_library(
name = "mymatmul.so",
srcs = ["mymatmul.cc"],
deps = [
":taco"
],
)
tf_custom_op_library(
name = "mymatmul_grad.so",
srcs = ["mymatmul_grad.cc"],
deps = [
":taco"
],
)
tf_custom_op_library(
name = "varmatmul.so",
srcs = ["varmatmul/varmatmul.cc"],
deps = [
":taco"
],
)
tf_custom_op_library(
name = "varmatmul_sparse.so",
srcs = ["varmatmul/varmatmul_sparse.cc"],
deps = [
":taco"
],
)
tf_custom_op_library(
name = "loader.so",
srcs = ["varmatmul/loader.cc"],
deps = [
":taco"
],
)
tf_custom_op_library(
name = "spmv_taco_input.so",
srcs = ["varmatmul/spmv_taco_input.cc"],
deps = [
":taco"
],
)