You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Particles: CUDA Array Interface
Add the `__cuda_array_interface__` to particles.
* Particles: Allocator Support
* Allocators: Container, Tile, SoA
* Safe Compile Time: Available Arenas
* ParticleContainer: Simplify
Remove one unnecessary & untested combination.
// Because the user of the interface may or may not be in the same context, the most common case is to use cuPointerGetAttribute with CU_POINTER_ATTRIBUTE_DEVICE_POINTER in the CUDA driver API (or the equivalent CUDA Runtime API) to retrieve a device pointer that is usable in the currently active context.
94
+
// TODO For zero-size arrays, use 0 here.
95
+
96
+
// None or integer
97
+
// An optional stream upon which synchronization must take place at the point of consumption, either by synchronizing on the stream or enqueuing operations on the data on the given stream. Integer values in this entry are as follows:
98
+
// 0: This is disallowed as it would be ambiguous between None and the default stream, and also between the legacy and per-thread default streams. Any use case where 0 might be given should either use None, 1, or 2 instead for clarity.
99
+
// 1: The legacy default stream.
100
+
// 2: The per-thread default stream.
101
+
// Any other integer: a cudaStream_t represented as a Python integer.
// Because the user of the interface may or may not be in the same context, the most common case is to use cuPointerGetAttribute with CU_POINTER_ATTRIBUTE_DEVICE_POINTER in the CUDA driver API (or the equivalent CUDA Runtime API) to retrieve a device pointer that is usable in the currently active context.
79
+
// TODO For zero-size arrays, use 0 here.
80
+
81
+
// None or integer
82
+
// An optional stream upon which synchronization must take place at the point of consumption, either by synchronizing on the stream or enqueuing operations on the data on the given stream. Integer values in this entry are as follows:
83
+
// 0: This is disallowed as it would be ambiguous between None and the default stream, and also between the legacy and per-thread default streams. Any use case where 0 might be given should either use None, 1, or 2 instead for clarity.
84
+
// 1: The legacy default stream.
85
+
// 2: The per-thread default stream.
86
+
// Any other integer: a cudaStream_t represented as a Python integer.
// Because the user of the interface may or may not be in the same context, the most common case is to use cuPointerGetAttribute with CU_POINTER_ATTRIBUTE_DEVICE_POINTER in the CUDA driver API (or the equivalent CUDA Runtime API) to retrieve a device pointer that is usable in the currently active context.
103
+
// TODO For zero-size arrays, use 0 here.
104
+
105
+
// None or integer
106
+
// An optional stream upon which synchronization must take place at the point of consumption, either by synchronizing on the stream or enqueuing operations on the data on the given stream. Integer values in this entry are as follows:
107
+
// 0: This is disallowed as it would be ambiguous between None and the default stream, and also between the legacy and per-thread default streams. Any use case where 0 might be given should either use None, 1, or 2 instead for clarity.
108
+
// 1: The legacy default stream.
109
+
// 2: The per-thread default stream.
110
+
// Any other integer: a cudaStream_t represented as a Python integer.
0 commit comments