Explicitly frees CUDA device memory held by a gpu_sparse_matrix object.
This is optional — the memory will be freed automatically when the object
is garbage-collected.
Arguments
- x
A
gpu_sparse_matrixobject fromst_read_gpu().
Examples
if (FALSE) { # \dontrun{
gpu_mat <- st_read_gpu("matrix.spz")
st_free_gpu(gpu_mat)
} # }