Skip to content

Commit 97c7119

Browse files
committed
attempt cupti import fix
1 parent ce2b013 commit 97c7119

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

deps/ReactantExtra/WORKSPACE

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,9 @@ hedron_compile_commands_setup_transitive_transitive_transitive()
5353
load("@enzyme_ad//:workspace.bzl", "ENZYME_COMMIT", "ENZYME_SHA256", "JAX_COMMIT", "JAX_SHA256", "XLA_PATCHES")
5454

5555
XLA_PATCHES = XLA_PATCHES + [
56+
"""
57+
sed -i.bak0 "/cupti_driver_cbid/d" xla/backends/profiler/gpu/cupti_tracer.cc
58+
""",
5659
"""
5760
sed -i.bak0 "s/patch_cmds = \\[/patch_cmds = \\[\\\"find . -type f -name config.bzl -exec sed -i.bak0 's\\/HAVE_LINK_H=1\\/HAVE_LINK_H=0\\/g' {} +\\\",/g" third_party/llvm/workspace.bzl
5861
""",

0 commit comments

Comments
 (0)