spla
Namespaces | Macros | Typedefs | Enumerations
config.hpp File Reference
#include <cinttypes>
#include <cstddef>
#include <functional>
#include <string>
Include dependency graph for config.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 spla
 

Macros

#define SPLA_API
 

Typedefs

using spla::uint = std::uint32_t
 Library index and size type. More...
 
using spla::MessageCallback = std::function< void(Status status, const std::string &msg, const std::string &file, const std::string &function, int line)>
 
using spla::ScheduleCallback = std::function< void()>
 

Enumerations

enum class  spla::Status : uint {
  spla::Ok = 0 , spla::Error = 1 , spla::NoAcceleration = 2 , spla::PlatformNotFound = 3 ,
  spla::DeviceNotFound = 4 , spla::InvalidState = 5 , spla::InvalidArgument = 6 , spla::NoValue = 7 ,
  spla::CompilationError = 8 , spla::NotImplemented = 1024
}
 
enum class  spla::AcceleratorType : uint { spla::None = 0 , spla::OpenCL = 1 }
 
enum class  spla::FormatMatrix : uint {
  spla::CpuLil = 0 , spla::CpuDok = 1 , spla::CpuCoo = 2 , spla::CpuCsr = 3 ,
  spla::CpuCsc = 4 , spla::AccCoo = 5 , spla::AccCsr = 6 , spla::AccCsc = 7 ,
  spla::Count = 8
}
 
enum class  spla::FormatVector : uint {
  spla::CpuDok = 0 , spla::CpuDense = 1 , spla::CpuCoo = 2 , spla::AccDense = 3 ,
  spla::AccCoo = 4 , spla::Count = 5
}
 

Macro Definition Documentation

◆ SPLA_API

#define SPLA_API