pub fn load_program_from_ptx<K: Kernel>(
ptx: &[u8],
) -> Result<CudaProgram<'static, K>>Expand description
Loads a compiled program directly from raw PTX bytes via the driver’s JIT loader (skipping
nvptxcompiler) — useful in tests that already have PTX in hand.