SuperLU Distributed 8.2.1
Distributed memory sparse direct solver
gpu_api_utils.h
Go to the documentation of this file.
1
21#ifndef gpu_api_utils_H
22#define gpu_api_utils_H
23
24#ifdef GPU_ACC
25
26#include "gpu_wrapper.h"
27typedef struct LUstruct_gpu_ LUstruct_gpu; // Sherry - not in this distribution
28
29#ifdef __cplusplus
30extern "C" {
31#endif
32extern void DisplayHeader();
33extern const char* gpublasGetErrorString(gpublasStatus_t status);
34extern gpuError_t checkGPU(gpuError_t);
35extern gpublasStatus_t checkGPUblas(gpublasStatus_t);
36extern gpublasHandle_t create_handle ();
37extern void destroy_handle (gpublasHandle_t handle);
38#ifdef __cplusplus
39 }
40#endif
41
42#endif // end GPU_ACC
43#endif