Skip to content

Commit

Permalink
calling is_nvls_supported function
Browse files Browse the repository at this point in the history
  • Loading branch information
caiomcbr committed Nov 22, 2024
1 parent 2a1eda9 commit 2e958d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/test/executor_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ def dtype_to_mscclpp_dtype(dtype):


def allocate_buffer(nelems, dtype):
if is_nvls_supported:
if is_nvls_supported():
buffer_raw = alloc_shared_physical_cuda(nelems * cp.dtype(dtype).itemsize)
buffer_ptr = cp.cuda.MemoryPointer(
cp.cuda.UnownedMemory(buffer_raw.get_ptr(), buffer_raw.size(), buffer_raw), 0
Expand Down

0 comments on commit 2e958d9

Please sign in to comment.