Skip to content

Commit

Permalink
Modify CMakeLists.txt and headers following rebase.
Browse files Browse the repository at this point in the history
This is just the necessary changes to get my tests compiling after Jie's
big refactor, which I've just rebased in.
  • Loading branch information
jacobhinkle committed Jan 5, 2023
1 parent 79bb154 commit a06224f
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 10 deletions.
1 change: 1 addition & 0 deletions third_party/nvfuser/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,7 @@ if(USE_CUDA)
list(APPEND JIT_TEST_SRCS ${NVFUSER_ROOT}/test/test_gpu_indexing_ops.cpp)
list(APPEND JIT_TEST_SRCS ${NVFUSER_ROOT}/test/test_gpu_indexing.cpp)
list(APPEND JIT_TEST_SRCS ${NVFUSER_ROOT}/test/test_gpu_gather_ops.cpp)
list(APPEND JIT_TEST_SRCS ${NVFUSER_ROOT}/test/test_gpu_match_frontend.cpp)

add_executable(${NVFUSER_TESTS}
${TORCH_ROOT}/test/cpp/common/main.cpp
Expand Down
20 changes: 10 additions & 10 deletions third_party/nvfuser/test/test_gpu_match_frontend.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,18 @@
#include <gmock/gmock-matchers.h>
#include <gtest/gtest.h>

#include <torch/csrc/jit/codegen/cuda/arith.h>
#include <torch/csrc/jit/codegen/cuda/executor.h>
#include <torch/csrc/jit/codegen/cuda/inlining.h>
#include <torch/csrc/jit/codegen/cuda/ir_all_nodes.h>
#include <torch/csrc/jit/codegen/cuda/ir_builder.h>
#include <torch/csrc/jit/codegen/cuda/kernel_cache.h>
#include <torch/csrc/jit/codegen/cuda/scheduler/all_schedulers.h>
#include <torch/csrc/jit/codegen/cuda/scheduler/utils.h>
#include <arith.h>
#include <executor.h>
#include <inlining.h>
#include <ir_all_nodes.h>
#include <ir_builder.h>
#include <kernel_cache.h>
#include <scheduler/all_schedulers.h>
#include <scheduler/utils.h>

#include <test/cpp/jit/test_utils.h>
#include <torch/csrc/jit/codegen/cuda/test/test_gpu_validator.h>
#include <torch/csrc/jit/codegen/cuda/test/test_utils.h>
#include <test/test_gpu_validator.h>
#include <test/test_utils.h>

#include <torch/torch.h>

Expand Down

0 comments on commit a06224f

Please sign in to comment.