[WIP] Enable kernel templates.
- shared memory type must now be declared in XPU_EXPORT_KERNEL, instead of XPU_KERNEL - Added macros XPU_KERNEL_T, XPU_KERNEL_TI, XPU_KERNEL_TS to define template kernels, instantiate templated kernels and provide specializations of templated kernels
Showing
- src/xpu/detail/dynamic_loader.h 37 additions, 24 deletionssrc/xpu/detail/dynamic_loader.h
- src/xpu/device.h 5 additions, 2 deletionssrc/xpu/device.h
- test/TestKernels.cpp 34 additions, 33 deletionstest/TestKernels.cpp
- test/TestKernels.h 21 additions, 11 deletionstest/TestKernels.h
- test/xpu_test.cpp 2 additions, 2 deletionstest/xpu_test.cpp
Loading
Please register or sign in to comment