forked from lattice/quda
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
quda: cleaned up header files (invert_quda.cpp is now interface_quda.…
…cpp) git-svn-id: http://lattice.bu.edu/qcdalg/cuda/quda@593 be54200a-260c-0410-bdd7-ce6af2a381ab
- Loading branch information
Showing
24 changed files
with
212 additions
and
189 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
#ifndef _CLOVER_QUDA_H | ||
#define _CLOVER_QUDA_H | ||
|
||
#include <quda_internal.h> | ||
|
||
#ifdef __cplusplus | ||
extern "C" { | ||
#endif | ||
|
||
void allocateParityClover(ParityClover *, int *X, int pad, | ||
Precision precision); | ||
void allocateCloverField(FullClover *, int *X, int pad, Precision precision); | ||
|
||
void freeParityClover(ParityClover *clover); | ||
void freeCloverField(FullClover *clover); | ||
|
||
void loadParityClover(ParityClover ret, void *clover, Precision cpu_prec, | ||
CloverFieldOrder clover_order); | ||
void loadFullClover(FullClover ret, void *clover, Precision cpu_prec, | ||
CloverFieldOrder clover_order); | ||
void loadCloverField(FullClover ret, void *clover, Precision cpu_prec, | ||
CloverFieldOrder clover_order); | ||
|
||
/* void createCloverField(FullClover *cudaClover, void *cpuClover, int *X, | ||
Precision precision); */ | ||
|
||
#ifdef __cplusplus | ||
} | ||
#endif | ||
|
||
#endif // _CLOVER_QUDA_H |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
#ifndef _INVERT_QUDA_H | ||
#define _INVERT_QUDA_H | ||
|
||
#include <quda_internal.h> | ||
#include <quda.h> | ||
|
||
#ifdef __cplusplus | ||
extern "C" { | ||
#endif | ||
|
||
extern FullGauge cudaGaugePrecise; | ||
extern FullGauge cudaGaugeSloppy; | ||
|
||
extern FullClover cudaCloverPrecise; | ||
extern FullClover cudaCloverSloppy; | ||
|
||
extern FullClover cudaCloverInvPrecise; | ||
extern FullClover cudaCloverInvSloppy; | ||
|
||
// -- inv_cg_cuda.cpp | ||
void invertCgCuda(ParitySpinor x, ParitySpinor b, ParitySpinor tmp, | ||
QudaInvertParam *param); | ||
|
||
// -- inv_bicgstab_cuda.cpp | ||
void invertBiCGstabCuda(ParitySpinor x, ParitySpinor b, ParitySpinor tmp, | ||
QudaInvertParam *param, DagType dag_type); | ||
|
||
#ifdef __cplusplus | ||
} | ||
#endif | ||
|
||
#endif // _INVERT_QUDA_H |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -100,7 +100,4 @@ extern "C" { | |
} | ||
#endif | ||
|
||
#include <blas_quda.h> | ||
#include <dslash_quda.h> | ||
|
||
#endif // _QUDA_INTERNAL_H |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,6 @@ | ||
#ifndef _UTIL_QUDA_H | ||
#define _UTIL_QUDA_H | ||
|
||
#include <quda_internal.h> | ||
|
||
#ifdef __cplusplus | ||
extern "C" { | ||
#endif | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,7 @@ | |
#include <stdio.h> | ||
|
||
#include <quda_internal.h> | ||
#include <blas_quda.h> | ||
|
||
#define REDUCE_MAX_BLOCKS 2048 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
#include <stdlib.h> | ||
#include <stdio.h> | ||
#include <math.h> | ||
|
||
#include <quda_internal.h> | ||
#include <gauge_quda.h> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.