Skip to main content

set_attribute_raw

Function set_attribute_raw 

Source
pub unsafe fn set_attribute_raw(
    value: *const c_void,
    attribute: i32,
    ptr: CUdeviceptr,
) -> Result<()>
Expand description

Set a single pointer attribute (typically SYNC_MEMOPS).

ยงSafety

value must point to a valid payload matching the attribute.