Skip to content

Commit

Permalink
src/gen => src/xe
Browse files Browse the repository at this point in the history
  • Loading branch information
Dmitry Babokin committed Aug 30, 2021
1 parent 4f4c176 commit 3fad469
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Expand Up @@ -373,7 +373,7 @@ target_sources(${PROJECT_NAME}
)

if (XE_ENABLED)
target_sources(${PROJECT_NAME} PRIVATE "src/gen/GlobalsLocalization.cpp")
target_sources(${PROJECT_NAME} PRIVATE "src/xe/GlobalsLocalization.cpp")
endif()

# To show stdlib.ispc in VS solution:
Expand Down
2 changes: 1 addition & 1 deletion check_format.sh
Expand Up @@ -50,7 +50,7 @@ fi

# Check all source files.
# For benchmarks folder do not check 03_complex, as these tests come from real projects with their formatting.
FILES=`ls src/*.cpp src/*.h src/gen/*.cpp src/gen/*.h *.cpp builtins/builtins-c-* benchmarks/{01,02}*/*{cpp,ispc}`
FILES=`ls src/*.cpp src/*.h src/xe/*.cpp src/xe/*.h *.cpp builtins/builtins-c-* benchmarks/{01,02}*/*{cpp,ispc}`
for FILE in $FILES; do
$CLANG_FORMAT $FILE | cmp $FILE >/dev/null
if [ $? -ne 0 ]; then
Expand Down
2 changes: 1 addition & 1 deletion src/opt.cpp
Expand Up @@ -108,7 +108,7 @@
#include <llvm/Support/Regex.h>
#endif
#ifdef ISPC_XE_ENABLED
#include "gen/GlobalsLocalization.h"
#include "xe/GlobalsLocalization.h"
#include <LLVMSPIRVLib/LLVMSPIRVLib.h>
#include <llvm/GenXIntrinsics/GenXIntrOpts.h>
#include <llvm/GenXIntrinsics/GenXIntrinsics.h>
Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit 3fad469

Please sign in to comment.