+ Microarchitecture optimizations + 64-bit support + Xilinx FPGA support + LLVM-16 support + Refactoring and quality control fixes
23 lines
467 B
C
23 lines
467 B
C
#ifndef __COMPUTEQ__
|
|
#define __COMPUTEQ__
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
void computePhiMag_GPU(int numK,cl_mem phiR_d,cl_mem phiI_d,cl_mem phiMag_d,clPrmtr* clPrm);
|
|
void computeQ_GPU (int numK,int numX,
|
|
cl_mem x_d, cl_mem y_d, cl_mem z_d,
|
|
struct kValues* kVals,
|
|
cl_mem Qr_d, cl_mem Qi_d,
|
|
clPrmtr* clPrm);
|
|
|
|
void createDataStructsCPU(int numK, int numX, float** phiMag,
|
|
float** Qr, float** Qi);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|