-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathcudalbfgs_error_checking.h
32 lines (28 loc) · 1021 Bytes
/
cudalbfgs_error_checking.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/**
* ___ _ _ ___ _ __ __ _ ___
* / __| | | | \ /_\ | \/ | /_\ | _ \
* | (__| |_| | |) / _ \ | |\/| |/ _ \| _/
* \___|\___/|___/_/_\_\_|_|__|_/_/_\_\_|_ ___
* / __| | | | _ \ __| _ \___| _ \ __/ __|
* \__ \ |_| | _/ _|| /___| / _|\__ \
* |___/\___/|_| |___|_|_\ |_|_\___|___/
* 2012
*
* by Jens Wetzl ([email protected])
* and Oliver Taubmann ([email protected])
*
* This work is licensed under a Creative Commons
* Attribution 3.0 Unported License. (CC-BY)
* http://creativecommons.org/licenses/by/3.0/
*
**/
#ifndef CUDALBFGS_ERROR_CHECKING_H
#define CUDALBFGS_ERROR_CHECKING_H
// Activate the error checking functions from
// the library header for using them here.
// (Obviously, this does not affect library behaviour.)
#ifdef SUPERRES_ERROR_CHECKING
#define LBFGS_CUDA_ERROR_CHECK 1
#endif
#include <CudaLBFGS/error_checking.h>
#endif // CUDALBFGS_ERROR_CHECKING_H