refactor: root kernel includes at csrc/kernels

- add the kernels directory to CMake target include paths and drop all ../-relative includes in kernel sources
- reference shared primitives as common/*.cuh and the fp8 type header as fp8/common.h
- update standalone test nvcc commands in file headers and cuda_kernels.md to -I csrc/kernels
This commit is contained in:
2026-09-01 14:43:38 +08:00
parent 63f23a4454
commit 1c17e80882
15 changed files with 23 additions and 22 deletions
+1 -1
View File
@@ -11,8 +11,8 @@
#include <cuda_runtime.h>
#include <type_traits>
#include "../common/cp_async.cuh"
#include "common.h"
#include "common/cp_async.cuh"
#include "gemm/epilogue.cuh"
#include "gemm/load.cuh"
#include "gemm/mainloop.cuh"