+ Microarchitecture optimizations + 64-bit support + Xilinx FPGA support + LLVM-16 support + Refactoring and quality control fixes
20 lines
277 B
C
20 lines
277 B
C
#ifndef _COMMON_H_
|
|
#define _COMMON_H_
|
|
|
|
#define KERNEL_ARG_DEV_MEM_ADDR 0x7ffff000
|
|
|
|
#define FP_ENABLE
|
|
|
|
#ifdef FP_ENABLE
|
|
#define TYPE float
|
|
#else
|
|
#define TYPE int
|
|
#endif
|
|
|
|
typedef struct {
|
|
uint32_t num_points;
|
|
uint64_t src_addr;
|
|
uint64_t dst_addr;
|
|
} kernel_arg_t;
|
|
|
|
#endif |