cuda.core
0.2.0 Release Notes¶
Released on <TODO>, 2025
Highlights¶
Add
ProgramOptions
to facilitate the passing of runtime compile options toProgram
.
Breaking Changes¶
The
stream
attribute is removed fromLaunchConfig
. Instead, theStream
object should now be directly passed tolaunch()
as an argument.The signature for
launch()
is changed by swapping positional arguments, the new signature is now(stream, config, kernel, *kernel_args)
Change
__cuda_stream__
from attribute to method.The
Program.compile()
method no longer accepts theoptions
argument. Instead, you can optionally pass an instance ofProgramOptions
to the constructor ofProgram
.Device.properties()
now provides attribute getters instead of a dictionary interface.The
.handle
attribute of variouscuda.core
objects now returns the underlying Python object instead of a (type-erased) Python integer.
New features¶
Expose
ObjectCode
as a public API, which allows loading cubins from memory or disk. For loading other kinds of code types, please continue usingProgram
.A C++ helper function
get_cuda_native_handle()
is provided in the newinclude/utility.cuh
header to retrive the underlying CUDA C objects (ex:CUstream
) from a Python object returned by the.handle
attribute (ex:Stream.handle
).For objects such as
Program
andLinker
that could dispatch to different backends, a new.backend
attribute is provided to query this information.
Limitations¶
<TODO>