Skip to content

Commit

Permalink
[misc] Add macro to control amdgpu-related header file (taichi-dev#7021)
Browse files Browse the repository at this point in the history
Issue: #

### Brief Summary
  • Loading branch information
galeselee authored and quadpixels committed May 13, 2023
1 parent e2cb84a commit ef142b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions taichi/runtime/llvm/llvm_runtime_executor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit ef142b8

Please sign in to comment.