renom.cuda

renom.cuda. set_cuda_active ( activate=True )

If True is given, this method activate cuda.

Parameters: activate ( bool ) – Cuda activation flag.
renom.cuda. is_cuda_active ( )

Check the CUDA active.

Returns: True if cuda is active.
renom.cuda. has_cuda ( )

This method checks cuda libraries are available.

Returns: True if cuda is correctly set.