Skip to content

Commit fe39d2c

Browse files
committed
Forgot to commit a critical section on this branch
1 parent be67a0f commit fe39d2c

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

cuda_core/cuda/core/_memory/_buffer.pyx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -443,6 +443,7 @@ cdef class Buffer:
443443

444444
# Memory Attribute Query Helpers
445445
# ------------------------------
446+
@cython.critical_section
446447
cdef inline void _init_mem_attrs(Buffer self):
447448
"""Initialize memory attributes by querying the pointer."""
448449
if not self._mem_attrs_inited.load(memory_order_acquire):

0 commit comments

Comments
 (0)