pub fn launch_kernel(
vendor_code: &str,
wbin: &[u8],
vendor: GpuVendor,
buffers: &mut [&mut DeviceBuffer],
scalars: &[u32],
grid: [u32; 3],
workgroup: [u32; 3],
) -> Result<(), RuntimeError>Expand description
Launch a compiled kernel on the specified vendor.
ยงErrors
Returns RuntimeError::Launch if the kernel cannot be launched, compiled,
or executed on the target device.