37 lines
524 B
Python
37 lines
524 B
Python
|
class CudaDriverError(Exception):
|
||
|
pass
|
||
|
|
||
|
|
||
|
class CudaRuntimeError(Exception):
|
||
|
pass
|
||
|
|
||
|
|
||
|
class CudaSupportError(ImportError):
|
||
|
pass
|
||
|
|
||
|
|
||
|
class NvvmError(Exception):
|
||
|
def __str__(self):
|
||
|
return '\n'.join(map(str, self.args))
|
||
|
|
||
|
|
||
|
class NvvmSupportError(ImportError):
|
||
|
pass
|
||
|
|
||
|
|
||
|
class NvvmWarning(Warning):
|
||
|
pass
|
||
|
|
||
|
|
||
|
class NvrtcError(Exception):
|
||
|
def __str__(self):
|
||
|
return '\n'.join(map(str, self.args))
|
||
|
|
||
|
|
||
|
class NvrtcCompilationError(NvrtcError):
|
||
|
pass
|
||
|
|
||
|
|
||
|
class NvrtcSupportError(ImportError):
|
||
|
pass
|