-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcudacomp.h
48 lines (33 loc) · 965 Bytes
/
cudacomp.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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
/**
* @file cudacomp.h
* @brief Function prototypes for CUDA/MAGMA wrapper
*
* Also uses MAGMA library
*
*
* @bug Magma can hang on magma_dsyevd_gpu
*
*/
#ifndef _CUDACOMP_H
#define _CUDACOMP_H
#ifdef HAVE_CUDA
#include <cuda_runtime_api.h>
#include <cuda_runtime.h>
#include <cublas_v2.h>
#include <device_types.h>
#include <pthread.h>
#endif
#include "cudacomp/cudacomp_MVMextractModesLoop.h"
#include "cudacomp/cudacompinit.h"
#include "cudacomp/cudacomptest.h"
#include "cudacomp/GPU_loop_MultMat_execute.h"
#include "cudacomp/GPU_loop_MultMat_setup.h"
#include "cudacomp/GPU_SVD_computeControlMatrix.h"
#include "cudacomp/GPUloadCmat.h"
#include "cudacomp/magma_compute_SVDpseudoInverse.h"
#include "cudacomp/magma_compute_SVDpseudoInverse_SVD.h"
#include "cudacomp/MatMatMult_testPseudoInverse.h"
#include "cudacomp/printGPUMATMULTCONF.h"
#include "cudacomp/MVM_CPU.h"
void __attribute__((constructor)) libinit_cudacomp();
#endif