[RUNTIME] Support environments with multiple cudalibs (#733)
This commit is contained in:
@@ -666,7 +666,7 @@ def test_atomic_cas():
|
||||
Lock = torch.zeros((1,), device='cuda', dtype=torch.int32)
|
||||
change_value[(1,)](Lock)
|
||||
|
||||
assert(Lock[0] == 1)
|
||||
assert (Lock[0] == 1)
|
||||
|
||||
# 2. only one block enters the critical section
|
||||
@triton.jit
|
||||
|
Reference in New Issue
Block a user