mirror of
https://github.com/sfilippone/psblas3.git
synced 2026-10-20 04:42:08 +00:00
Fix usage of HAVE_CUDA/HAVE_GPU (mostly disappeared)
This commit is contained in:
@@ -33,12 +33,10 @@
|
||||
#ifndef _ELLDEV_H_
|
||||
#define _ELLDEV_H_
|
||||
|
||||
#if defined(HAVE_SPGPU)
|
||||
#include "cintrf.h"
|
||||
#include "cuComplex.h"
|
||||
#include "ell.h"
|
||||
|
||||
|
||||
struct EllDevice
|
||||
{
|
||||
// Compressed matrix
|
||||
@@ -176,8 +174,4 @@ int getEllDevicePitch(void* deviceMat);
|
||||
//int spmvEllDeviceFloat(void *deviceMat, float* alpha, void* deviceX, float* beta, void* deviceY);
|
||||
//int spmvEllDeviceDouble(void *deviceMat, double* alpha, void* deviceX, double* beta, void* deviceY);
|
||||
|
||||
#else
|
||||
#define CINTRF_UNSUPPORTED -1
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user