Skip to main content

set_handle_class_name

Function set_handle_class_name 

Source
pub fn set_handle_class_name(
    handle: &GpuTensorHandle,
    class_name: impl Into<String>,
)
Expand description

Record the MATLAB underlying class associated with a GPU tensor handle.

Precision alone cannot represent integer gpuArray classes, so runtime introspection and validation use this metadata when the upload path knows the exact requested or inferred class.