<s> try : <EOL> import pycuda . autoinit <EOL> import scikits . cuda . linalg <EOL> scikits . cuda . linalg . init ( ) <EOL> _has_cuda = True <EOL> _has_cula = scikits . cuda . linalg . _has_cula <EOL> except ( ImportError , OSError ) : <EOL> _has_cuda = False <EOL> _has_cula = False </s>
