diff --git a/taichi/runtime/llvm/llvm_runtime_executor.cpp b/taichi/runtime/llvm/llvm_runtime_executor.cpp index f4b6f1b75e515..f4323e25d61e0 100644 --- a/taichi/runtime/llvm/llvm_runtime_executor.cpp +++ b/taichi/runtime/llvm/llvm_runtime_executor.cpp @@ -6,14 +6,14 @@ #include "taichi/rhi/cuda/cuda_device.h" #include "taichi/platform/cuda/detect_cuda.h" #include "taichi/rhi/cuda/cuda_driver.h" -#include "taichi/rhi/amdgpu/amdgpu_driver.h" -#include "taichi/rhi/amdgpu/amdgpu_device.h" #if defined(TI_WITH_CUDA) #include "taichi/rhi/cuda/cuda_context.h" #endif #if defined(TI_WITH_AMDGPU) +#include "taichi/rhi/amdgpu/amdgpu_driver.h" +#include "taichi/rhi/amdgpu/amdgpu_device.h" #include "taichi/rhi/amdgpu/amdgpu_context.h" #endif