Skip to main content

transpile_device_function

Function transpile_device_function 

Source
pub fn transpile_device_function(func: &ItemFn) -> Result<String>
Expand description

Transpile a Rust function to a CUDA __device__ function.

This generates a device-callable function (not a kernel) from Rust code.