Compare commits

...

1 Commits

Author SHA1 Message Date
19602e64df compile_kernel remove cp from graph test 2025-09-26 13:09:39 -07:00

View File

@ -7289,9 +7289,7 @@ class TestCudaDeviceParametrized(TestCase):
"""
from torch.cuda import _compile_kernel
spin_wait_kernel = _compile_kernel(
kernel_source, "wait_for_cpu", compute_capability="70"
)
spin_wait_kernel = _compile_kernel(kernel_source, "wait_for_cpu")
x = torch.ones(4, device="cuda")
x_cpu = torch.zeros(x.shape, device="cpu").pin_memory()