Speclib  0.1.2
The library for writing better CUDA libraries
sp::DevicePropertyCheckException Class Referencefinal

Thrown during static initialisation when the library detects that the current GPU is unusable. More...

#include <SpecLibExceptions.hpp>

Inheritance diagram for sp::DevicePropertyCheckException:
[legend]

Public Member Functions

 DevicePropertyCheckException (const DevicePropertyCheckException &)
 
 DevicePropertyCheckException (const std::string &what)
 
- Public Member Functions inherited from sp::SpecLibException
 SpecLibException (const SpecLibException &)
 
 SpecLibException (const std::string &what)
 
- Public Member Functions inherited from std::runtime_error
runtime_error (T... args)
 
what (T... args)
 
- Public Member Functions inherited from std::exception
exception (T... args)
 
operator= (T... args)
 
what (T... args)
 
~exception (T... args)
 

Detailed Description

Thrown during static initialisation when the library detects that the current GPU is unusable.

This usually happens when you run a version of this library compiled for a different GPU. It might happen if you have a very exotic (or very new) GPU.

These problems are usually fixable: they just mean your GPU violates an assumption that was made when writing parts of the library (perhaps it has too many SMs, or too much shared memory).

See also
Context