Skip to main content

elementwise_binary_execute

Function elementwise_binary_execute 

Source
pub unsafe fn elementwise_binary_execute(
    handle: cutensorHandle_t,
    plan: cutensorPlan_t,
    alpha: *const c_void,
    a: *const c_void,
    gamma: *const c_void,
    c: *const c_void,
    d: *mut c_void,
    stream: cudaStream_t,
) -> Result<(), CutensorError>
Expand description

Execute a previously-planned binary elementwise op.

ยงSafety

handle, plan, all data pointers, and stream must be valid.