We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
if_cuda_is_configured
1 parent af8e82d commit e999e44Copy full SHA for e999e44
tensorflow_quantum/core/ops/BUILD
@@ -43,15 +43,16 @@ py_library(
43
":tfq_adj_grad_op_py",
44
":tfq_ps_util_ops_py",
45
":tfq_simulate_ops_py",
46
- ":tfq_simulate_ops_cuda_py",
47
- ":tfq_simulate_ops_cuquantum_py",
48
":tfq_unitary_op_py",
49
":tfq_utility_ops_py",
50
# test addons
51
"//tensorflow_quantum/core/ops/math_ops:inner_product_op_py",
52
"//tensorflow_quantum/core/ops/math_ops:fidelity_op_py",
53
"//tensorflow_quantum/core/ops/noise:noisy_expectation_op_py",
54
- ],
+ ] + if_cuda_is_configured([
+ ":tfq_simulate_ops_cuda_py",
+ ":tfq_simulate_ops_cuquantum_py",
55
+ ]),
56
)
57
58
cc_binary(
0 commit comments