Miscellaneous RoutinesΒΆ

cumsum Cumulative sum.
diff Calculate the discrete difference.
done_context Detach from a context cleanly.
get_compute_capability Get the compute capability of the specified device.
get_current_device Get the device in use by the current context.
get_dev_attrs
inf Return an array of the given shape and dtype filled with infs.
init Initialize libraries used by scikits.cuda.
init_context Create a context that will be cleaned up properly.
init_device Initialize a GPU device.
iscomplextype Check whether a type is complex.
isdoubletype Check whether a type has double precision.
maxabs Get maximum absolute value.
ones Return an array of the given shape and dtype filled with ones.
ones_like Return an array of ones with the same shape and type as a given array.
select_block_grid_sizes
set_realloc Transfer data into a GPUArray instance.
shutdown Shutdown libraries used by scikits.cuda.
zeros Return an array of the given shape and dtype filled with zeros.
zeros_like Return an array of zeros with the same shape and type as a given array.