File tree Expand file tree Collapse file tree 6 files changed +12
-12
lines changed
cuda_core/cuda/core/experimental Expand file tree Collapse file tree 6 files changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -168,7 +168,7 @@ def handle(self) -> cuda.bindings.driver.CUevent:
168
168
169
169
.. caution::
170
170
171
- This handle is a python object. To get the memory address of the C struct, call
172
- ``int(Event. handle)`` not ``Event.handle.getPtr( )``.
171
+ This handle is a Python object. To get the memory address of the underlying C
172
+ handle, call ``int( Event.handle)``.
173
173
"""
174
174
return self ._mnff .handle
Original file line number Diff line number Diff line change @@ -506,8 +506,8 @@ def handle(self) -> LinkerHandleT:
506
506
507
507
.. caution::
508
508
509
- This handle is a python object. To get the memory address of the C struct, call
510
- ``int(Linker. handle)`` not ``Linker.handle.getPtr( )``.
509
+ This handle is a Python object. To get the memory address of the underlying C
510
+ handle, call ``int( Linker.handle)``.
511
511
"""
512
512
return self ._mnff .handle
513
513
Original file line number Diff line number Diff line change @@ -86,8 +86,8 @@ def handle(self) -> driver.CUdeviceptr:
86
86
87
87
.. caution::
88
88
89
- This handle is a python object. To get the memory address of the C struct, call
90
- ``int(Buffer. handle)`` not ``Buffer.handle.getPtr( )``.
89
+ This handle is a Python object. To get the memory address of the underlying C
90
+ handle, call ``int( Buffer.handle)``.
91
91
"""
92
92
return self ._mnff .ptr
93
93
Original file line number Diff line number Diff line change @@ -358,7 +358,7 @@ def handle(self):
358
358
359
359
.. caution::
360
360
361
- This handle is a python object. To get the memory address of the C struct, call
362
- ``int(ObjectCode. handle)`` not ``ObjectCode.handle.getPtr( )``.
361
+ This handle is a Python object. To get the memory address of the underlying C
362
+ handle, call ``int( ObjectCode.handle)``.
363
363
"""
364
364
return self ._handle
Original file line number Diff line number Diff line change @@ -527,7 +527,7 @@ def handle(self) -> ProgramHandleT:
527
527
528
528
.. caution::
529
529
530
- This handle is a python object. To get the memory address of the C struct, call
531
- ``int(Program. handle)`` not ``Program.handle.getPtr( )``.
530
+ This handle is a Python object. To get the memory address of the underlying C
531
+ handle, call ``int( Program.handle)``.
532
532
"""
533
533
return self ._mnff .handle
Original file line number Diff line number Diff line change @@ -193,8 +193,8 @@ def handle(self) -> cuda.bindings.driver.CUstream:
193
193
194
194
.. caution::
195
195
196
- This handle is a python object. To get the memory address of the C struct, call
197
- ``int(Stream. handle)`` not ``Stream.handle.getPtr( )``.
196
+ This handle is a Python object. To get the memory address of the underlying C
197
+ handle, call ``int( Stream.handle)``.
198
198
"""
199
199
return self ._mnff .handle
200
200
You can’t perform that action at this time.
0 commit comments