LAMA
/home/brandes/workspace/LAMA/src/lama/cuda/CUDAException.hpp
Go to the documentation of this file.
00001 
00033 #ifndef LAMA_CUDAEXCEPTION_HPP_
00034 #define LAMA_CUDAEXCEPTION_HPP_
00035 
00036 // for dll_import
00037 #include <lama/config.hpp>
00038 
00039 // base classes
00040 #include <lama/exception/Exception.hpp>
00041 
00042 #include <cuda_runtime_api.h>
00043 
00044 namespace lama
00045 {
00046 
00047 class LAMA_DLL_IMPORTEXPORT CUDAException: public Exception
00048 {
00049 public:
00050     CUDAException( const std::string& message, const cudaError_t cudaError );
00051     virtual ~CUDAException() throw();
00052 };
00053 
00054 }
00055 
00056 #endif // LAMA_CUDAEXCEPTION_HPP_