Skip to main content

destroy_generator

Function destroy_generator 

Source
pub unsafe fn destroy_generator(
    gen: curandGenerator_t,
) -> Result<(), CurandError>
Expand description

curandDestroyGenerator.

ยงSafety

gen must not have been destroyed already. After this call the pointer is dangling.