Trait rust_cuda::kernel::CompiledKernelPtx
source · pub unsafe trait CompiledKernelPtx<Kernel> {
// Required methods
fn get_ptx() -> &'static CStr;
fn get_entry_point() -> &'static CStr;
}
Available on crate feature
host
only.Expand description
§Safety
The PTX string returned by CompiledKernelPtx::get_ptx
must correspond
to the compiled kernel code for the Kernel
function and contain a kernel
entry point whose name is returned by
CompiledKernelPtx::get_entry_point
.
This trait should not be implemented manually – use the
kernel
macro instead.
Required Methods§
Object Safety§
This trait is not object safe.