Skip to main content

RegionLaunchCheck

Trait RegionLaunchCheck 

Source
#[doc(hidden)]
pub trait RegionLaunchCheck { // Required method fn __offload_check_launch(&self, grid: [u32; 3], block: [u32; 3]); }
🔬This is a nightly-only experimental API. (gpu_offload #131513)
Expand description

Implementation detail of offload!: validates a Region argument against the launch configuration of an offload call.

Required Methods§

Source

fn __offload_check_launch(&self, grid: [u32; 3], block: [u32; 3])

🔬This is a nightly-only experimental API. (gpu_offload #131513)

Panics if the region’s partitioning strategy rejects the launch.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§