vSMC
vSMC: Scalable Monte Carlo
Classes | Namespaces | Macros | Functions
mkl.hpp File Reference
#include <vsmc/internal/common.hpp>
#include <vsmc/rng/internal/common.hpp>
#include <mkl.h>

Go to the source code of this file.

Classes

class  vsmc::MKLBase< MKLPtr, Derived >
 MKL resource management base class. More...
 
class  vsmc::MKLBase< MKLPtr, Derived >::deleter_type
 
class  vsmc::MKLConvTask< ResultType >
 MKL VSLConvTaskPtr More...
 
class  vsmc::MKLCorrTask< ResultType >
 MKL VSLCorrTaskPtr More...
 
class  vsmc::MKLDFTask< ResultType >
 MKL DFTaskPtr More...
 
class  vsmc::MKLSSTask< ResultType >
 MKL VSLSSTaskPtr More...
 
class  vsmc::MKLStream
 MKL VSLStreamStatePtr More...
 

Namespaces

 vsmc
 
 vsmc::internal
 

Macros

#define VSMC_RUNTIME_ASSERT_UTILITY_MKL_VSL_OFFSET(offset)
 
#define VSMC_STATIC_ASSERT_UTILITY_MKL_CONV_TASK_RESULT_TYPE(ResultType)
 
#define VSMC_STATIC_ASSERT_UTILITY_MKL_CORR_TASK_RESULT_TYPE(ResultType)
 
#define VSMC_STATIC_ASSERT_UTILITY_MKL_DF_TASK_RESULT_TYPE(ResultType)
 
#define VSMC_STATIC_ASSERT_UTILITY_MKL_SS_TASK_RESULT_TYPE(ResultType)
 

Functions

void vsmc::internal::mkl_error_check (int status, const char *func, const char *mklf)
 
template<typename MKLPtr , typename Derived >
bool vsmc::operator!= (const MKLBase< MKLPtr, Derived > &ptr1, const MKLBase< MKLPtr, Derived > &ptr2)
 Comparison of inequality of two MKLBase objects. More...
 
template<typename MKLPtr , typename Derived >
bool vsmc::operator== (const MKLBase< MKLPtr, Derived > &ptr1, const MKLBase< MKLPtr, Derived > &ptr2)
 Comparison of equality of two MKLBase objects. More...
 
template<typename MKLPtr , typename Derived >
void vsmc::swap (const MKLBase< MKLPtr, Derived > &ptr1, const MKLBase< MKLPtr, Derived > &ptr2)
 Swap two MKLBase objects. More...
 

Macro Definition Documentation

#define VSMC_RUNTIME_ASSERT_UTILITY_MKL_VSL_OFFSET (   offset)
Value:
VSMC_RUNTIME_ASSERT((offset < max VSMC_MNE()), \
"**MKLOffsetDynamic** " \
"EXCESS MAXIMUM NUMBER OF INDEPDENT RNG STREAMS")
#define VSMC_RUNTIME_ASSERT(cond, msg)
Definition: assert.hpp:55
#define VSMC_MNE
Definition: defines.hpp:38

Definition at line 65 of file mkl.hpp.

#define VSMC_STATIC_ASSERT_UTILITY_MKL_CONV_TASK_RESULT_TYPE (   ResultType)
Value:
VSMC_STATIC_ASSERT((std::is_same<ResultType, float>::value || \
std::is_same<ResultType, double>::value || \
std::is_same<ResultType, MKL_Complex8>::value || \
std::is_same<ResultType, MKL_Complex16>::value), \
"**MKLConvTask** USED WITH A ResultType OTHER THAN float, double, " \
"MKL_Complex8, OR MKL_Complex16")
#define VSMC_STATIC_ASSERT(cond, msg)
Definition: assert.hpp:42

Definition at line 44 of file mkl.hpp.

#define VSMC_STATIC_ASSERT_UTILITY_MKL_CORR_TASK_RESULT_TYPE (   ResultType)
Value:
VSMC_STATIC_ASSERT((std::is_same<ResultType, float>::value || \
std::is_same<ResultType, double>::value || \
std::is_same<ResultType, MKL_Complex8>::value || \
std::is_same<ResultType, MKL_Complex16>::value), \
"**MKLCorrTask** USED WITH A ResultType OTHER THAN float, double, " \
"MKL_Complex8, OR MKL_Complex16")
#define VSMC_STATIC_ASSERT(cond, msg)
Definition: assert.hpp:42

Definition at line 52 of file mkl.hpp.

#define VSMC_STATIC_ASSERT_UTILITY_MKL_DF_TASK_RESULT_TYPE (   ResultType)
Value:
VSMC_STATIC_ASSERT((std::is_same<ResultType, float>::value || \
std::is_same<ResultType, double>::value), \
"**MKLDFTask** USED WITH A ResultType OTHER THAN float OR double")
#define VSMC_STATIC_ASSERT(cond, msg)
Definition: assert.hpp:42

Definition at line 60 of file mkl.hpp.

#define VSMC_STATIC_ASSERT_UTILITY_MKL_SS_TASK_RESULT_TYPE (   ResultType)
Value:
VSMC_STATIC_ASSERT((std::is_same<ResultType, float>::value || \
std::is_same<ResultType, double>::value), \
"**MKLSSTask** USED WITH A ResultType OTHER THAN float OR double")
#define VSMC_STATIC_ASSERT(cond, msg)
Definition: assert.hpp:42

Definition at line 39 of file mkl.hpp.