add ls-sycl-device tool
This commit is contained in:
parent
79d30d7713
commit
0d6e7219b6
366 changed files with 16343 additions and 10 deletions
|
@ -129,11 +129,23 @@ or
|
|||
|
||||
### Run
|
||||
|
||||
1. List device ID
|
||||
1. Put model file to folder **models**
|
||||
|
||||
2. Enable oneAPI running environment
|
||||
|
||||
```
|
||||
source /opt/intel/oneapi/setvars.sh
|
||||
```
|
||||
|
||||
3. List device ID
|
||||
|
||||
Run without parameter:
|
||||
|
||||
```
|
||||
./build/bin/ls-sycl-device
|
||||
|
||||
or
|
||||
|
||||
./build/bin/main
|
||||
```
|
||||
|
||||
|
@ -157,14 +169,6 @@ found 4 SYCL devices:
|
|||
|compute capability 1.3|Level-zero running time, recommended |
|
||||
|compute capability 3.0|OpenCL running time, slower than level-zero in most cases|
|
||||
|
||||
2. Put model file to folder **models**
|
||||
|
||||
3. Enable oneAPI running environment
|
||||
|
||||
```
|
||||
source /opt/intel/oneapi/setvars.sh
|
||||
```
|
||||
|
||||
4. Set device ID and execute llama.cpp
|
||||
|
||||
Set device ID = 0 by **GGML_SYCL_DEVICE=0**
|
||||
|
|
|
@ -23,6 +23,7 @@ else()
|
|||
add_subdirectory(infill)
|
||||
add_subdirectory(llama-bench)
|
||||
add_subdirectory(llava)
|
||||
add_subdirectory(sycl)
|
||||
add_subdirectory(main)
|
||||
add_subdirectory(tokenize)
|
||||
add_subdirectory(parallel)
|
||||
|
@ -34,7 +35,7 @@ else()
|
|||
add_subdirectory(passkey)
|
||||
add_subdirectory(speculative)
|
||||
add_subdirectory(lookahead)
|
||||
add_subdirectory(lookup)
|
||||
add_subdirectory(lookup)
|
||||
add_subdirectory(train-text-from-scratch)
|
||||
add_subdirectory(imatrix)
|
||||
if (LLAMA_BUILD_SERVER)
|
||||
|
|
369
examples/sycl/CMakeCache.txt
Normal file
369
examples/sycl/CMakeCache.txt
Normal file
|
@ -0,0 +1,369 @@
|
|||
# This is the CMakeCache file.
|
||||
# For build in directory: /home/jianyuzh/ws/llama.cpp/develop/examples/sycl
|
||||
# It was generated by CMake: /usr/bin/cmake
|
||||
# You can edit this file to change values found and used by cmake.
|
||||
# If you do not want to change any of the values, simply exit the editor.
|
||||
# If you do want to change a value, simply edit, save, and exit the editor.
|
||||
# The syntax for the file is as follows:
|
||||
# KEY:TYPE=VALUE
|
||||
# KEY is the name of a variable in the cache.
|
||||
# TYPE is a hint to GUIs for the type of VALUE, DO NOT EDIT TYPE!.
|
||||
# VALUE is the current value for the KEY.
|
||||
|
||||
########################
|
||||
# EXTERNAL cache entries
|
||||
########################
|
||||
|
||||
//Path to a program.
|
||||
CMAKE_ADDR2LINE:FILEPATH=/usr/bin/addr2line
|
||||
|
||||
//Path to a program.
|
||||
CMAKE_AR:FILEPATH=/usr/bin/ar
|
||||
|
||||
//For backwards compatibility, what version of CMake commands and
|
||||
// syntax should this version of CMake try to support.
|
||||
CMAKE_BACKWARDS_COMPATIBILITY:STRING=2.4
|
||||
|
||||
//Choose the type of build, options are: None Debug Release RelWithDebInfo
|
||||
// MinSizeRel ...
|
||||
CMAKE_BUILD_TYPE:STRING=
|
||||
|
||||
//Enable/Disable color output during build.
|
||||
CMAKE_COLOR_MAKEFILE:BOOL=ON
|
||||
|
||||
//CXX compiler
|
||||
CMAKE_CXX_COMPILER:STRING=/opt/intel/oneapi/compiler/2024.0/bin/icpx
|
||||
|
||||
//Flags used by the CXX compiler during all build types.
|
||||
CMAKE_CXX_FLAGS:STRING=
|
||||
|
||||
//Flags used by the CXX compiler during DEBUG builds.
|
||||
CMAKE_CXX_FLAGS_DEBUG:STRING=-g
|
||||
|
||||
//Flags used by the CXX compiler during MINSIZEREL builds.
|
||||
CMAKE_CXX_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG
|
||||
|
||||
//Flags used by the CXX compiler during RELEASE builds.
|
||||
CMAKE_CXX_FLAGS_RELEASE:STRING=-O3 -DNDEBUG
|
||||
|
||||
//Flags used by the CXX compiler during RELWITHDEBINFO builds.
|
||||
CMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING=-O2 -g -DNDEBUG
|
||||
|
||||
//C compiler
|
||||
CMAKE_C_COMPILER:STRING=/opt/intel/oneapi/compiler/2024.0/bin/icx
|
||||
|
||||
//Flags used by the C compiler during all build types.
|
||||
CMAKE_C_FLAGS:STRING=
|
||||
|
||||
//Flags used by the C compiler during DEBUG builds.
|
||||
CMAKE_C_FLAGS_DEBUG:STRING=-g
|
||||
|
||||
//Flags used by the C compiler during MINSIZEREL builds.
|
||||
CMAKE_C_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG
|
||||
|
||||
//Flags used by the C compiler during RELEASE builds.
|
||||
CMAKE_C_FLAGS_RELEASE:STRING=-O3 -DNDEBUG
|
||||
|
||||
//Flags used by the C compiler during RELWITHDEBINFO builds.
|
||||
CMAKE_C_FLAGS_RELWITHDEBINFO:STRING=-O2 -g -DNDEBUG
|
||||
|
||||
//Path to a program.
|
||||
CMAKE_DLLTOOL:FILEPATH=CMAKE_DLLTOOL-NOTFOUND
|
||||
|
||||
//Flags used by the linker during all build types.
|
||||
CMAKE_EXE_LINKER_FLAGS:STRING=
|
||||
|
||||
//Flags used by the linker during DEBUG builds.
|
||||
CMAKE_EXE_LINKER_FLAGS_DEBUG:STRING=
|
||||
|
||||
//Flags used by the linker during MINSIZEREL builds.
|
||||
CMAKE_EXE_LINKER_FLAGS_MINSIZEREL:STRING=
|
||||
|
||||
//Flags used by the linker during RELEASE builds.
|
||||
CMAKE_EXE_LINKER_FLAGS_RELEASE:STRING=
|
||||
|
||||
//Flags used by the linker during RELWITHDEBINFO builds.
|
||||
CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO:STRING=
|
||||
|
||||
//Enable/Disable output of compile commands during generation.
|
||||
CMAKE_EXPORT_COMPILE_COMMANDS:BOOL=
|
||||
|
||||
//Install path prefix, prepended onto install directories.
|
||||
CMAKE_INSTALL_PREFIX:PATH=/usr/local
|
||||
|
||||
//Path to a program.
|
||||
CMAKE_LINKER:FILEPATH=/usr/bin/ld
|
||||
|
||||
//Path to a program.
|
||||
CMAKE_MAKE_PROGRAM:FILEPATH=/usr/bin/gmake
|
||||
|
||||
//Flags used by the linker during the creation of modules during
|
||||
// all build types.
|
||||
CMAKE_MODULE_LINKER_FLAGS:STRING=
|
||||
|
||||
//Flags used by the linker during the creation of modules during
|
||||
// DEBUG builds.
|
||||
CMAKE_MODULE_LINKER_FLAGS_DEBUG:STRING=
|
||||
|
||||
//Flags used by the linker during the creation of modules during
|
||||
// MINSIZEREL builds.
|
||||
CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL:STRING=
|
||||
|
||||
//Flags used by the linker during the creation of modules during
|
||||
// RELEASE builds.
|
||||
CMAKE_MODULE_LINKER_FLAGS_RELEASE:STRING=
|
||||
|
||||
//Flags used by the linker during the creation of modules during
|
||||
// RELWITHDEBINFO builds.
|
||||
CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO:STRING=
|
||||
|
||||
//Path to a program.
|
||||
CMAKE_NM:FILEPATH=/usr/bin/nm
|
||||
|
||||
//Path to a program.
|
||||
CMAKE_OBJCOPY:FILEPATH=/usr/bin/objcopy
|
||||
|
||||
//Path to a program.
|
||||
CMAKE_OBJDUMP:FILEPATH=/usr/bin/objdump
|
||||
|
||||
//Value Computed by CMake
|
||||
CMAKE_PROJECT_DESCRIPTION:STATIC=
|
||||
|
||||
//Value Computed by CMake
|
||||
CMAKE_PROJECT_HOMEPAGE_URL:STATIC=
|
||||
|
||||
//Value Computed by CMake
|
||||
CMAKE_PROJECT_NAME:STATIC=Project
|
||||
|
||||
//Path to a program.
|
||||
CMAKE_RANLIB:FILEPATH=/usr/bin/ranlib
|
||||
|
||||
//Path to a program.
|
||||
CMAKE_READELF:FILEPATH=/usr/bin/readelf
|
||||
|
||||
//Flags used by the linker during the creation of shared libraries
|
||||
// during all build types.
|
||||
CMAKE_SHARED_LINKER_FLAGS:STRING=
|
||||
|
||||
//Flags used by the linker during the creation of shared libraries
|
||||
// during DEBUG builds.
|
||||
CMAKE_SHARED_LINKER_FLAGS_DEBUG:STRING=
|
||||
|
||||
//Flags used by the linker during the creation of shared libraries
|
||||
// during MINSIZEREL builds.
|
||||
CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL:STRING=
|
||||
|
||||
//Flags used by the linker during the creation of shared libraries
|
||||
// during RELEASE builds.
|
||||
CMAKE_SHARED_LINKER_FLAGS_RELEASE:STRING=
|
||||
|
||||
//Flags used by the linker during the creation of shared libraries
|
||||
// during RELWITHDEBINFO builds.
|
||||
CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO:STRING=
|
||||
|
||||
//If set, runtime paths are not added when installing shared libraries,
|
||||
// but are added when building.
|
||||
CMAKE_SKIP_INSTALL_RPATH:BOOL=NO
|
||||
|
||||
//If set, runtime paths are not added when using shared libraries.
|
||||
CMAKE_SKIP_RPATH:BOOL=NO
|
||||
|
||||
//Flags used by the linker during the creation of static libraries
|
||||
// during all build types.
|
||||
CMAKE_STATIC_LINKER_FLAGS:STRING=
|
||||
|
||||
//Flags used by the linker during the creation of static libraries
|
||||
// during DEBUG builds.
|
||||
CMAKE_STATIC_LINKER_FLAGS_DEBUG:STRING=
|
||||
|
||||
//Flags used by the linker during the creation of static libraries
|
||||
// during MINSIZEREL builds.
|
||||
CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL:STRING=
|
||||
|
||||
//Flags used by the linker during the creation of static libraries
|
||||
// during RELEASE builds.
|
||||
CMAKE_STATIC_LINKER_FLAGS_RELEASE:STRING=
|
||||
|
||||
//Flags used by the linker during the creation of static libraries
|
||||
// during RELWITHDEBINFO builds.
|
||||
CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO:STRING=
|
||||
|
||||
//Path to a program.
|
||||
CMAKE_STRIP:FILEPATH=/usr/bin/strip
|
||||
|
||||
//If this value is on, makefiles will be generated without the
|
||||
// .SILENT directive, and all commands will be echoed to the console
|
||||
// during the make. This is useful for debugging only. With Visual
|
||||
// Studio IDE projects all commands are done without /nologo.
|
||||
CMAKE_VERBOSE_MAKEFILE:BOOL=FALSE
|
||||
|
||||
//Single output directory for building all executables.
|
||||
EXECUTABLE_OUTPUT_PATH:PATH=
|
||||
|
||||
//Single output directory for building all libraries.
|
||||
LIBRARY_OUTPUT_PATH:PATH=
|
||||
|
||||
//No help, variable specified on the command line.
|
||||
LLAMA_SYCL:UNINITIALIZED=ON
|
||||
|
||||
//Value Computed by CMake
|
||||
Project_BINARY_DIR:STATIC=/home/jianyuzh/ws/llama.cpp/develop/examples/sycl
|
||||
|
||||
//Value Computed by CMake
|
||||
Project_IS_TOP_LEVEL:STATIC=ON
|
||||
|
||||
//Value Computed by CMake
|
||||
Project_SOURCE_DIR:STATIC=/home/jianyuzh/ws/llama.cpp/develop/examples
|
||||
|
||||
//Path to a program.
|
||||
XIAR:FILEPATH=/opt/intel/oneapi/compiler/2024.0/bin/xiar
|
||||
|
||||
|
||||
########################
|
||||
# INTERNAL cache entries
|
||||
########################
|
||||
|
||||
//ADVANCED property for variable: CMAKE_ADDR2LINE
|
||||
CMAKE_ADDR2LINE-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_AR
|
||||
CMAKE_AR-ADVANCED:INTERNAL=1
|
||||
//This is the directory where this CMakeCache.txt was created
|
||||
CMAKE_CACHEFILE_DIR:INTERNAL=/home/jianyuzh/ws/llama.cpp/develop/examples/sycl
|
||||
//Major version of cmake used to create the current loaded cache
|
||||
CMAKE_CACHE_MAJOR_VERSION:INTERNAL=3
|
||||
//Minor version of cmake used to create the current loaded cache
|
||||
CMAKE_CACHE_MINOR_VERSION:INTERNAL=22
|
||||
//Patch version of cmake used to create the current loaded cache
|
||||
CMAKE_CACHE_PATCH_VERSION:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_COLOR_MAKEFILE
|
||||
CMAKE_COLOR_MAKEFILE-ADVANCED:INTERNAL=1
|
||||
//Path to CMake executable.
|
||||
CMAKE_COMMAND:INTERNAL=/usr/bin/cmake
|
||||
//Path to cpack program executable.
|
||||
CMAKE_CPACK_COMMAND:INTERNAL=/usr/bin/cpack
|
||||
//Path to ctest program executable.
|
||||
CMAKE_CTEST_COMMAND:INTERNAL=/usr/bin/ctest
|
||||
//ADVANCED property for variable: CMAKE_CXX_COMPILER
|
||||
CMAKE_CXX_COMPILER-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_CXX_FLAGS
|
||||
CMAKE_CXX_FLAGS-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_CXX_FLAGS_DEBUG
|
||||
CMAKE_CXX_FLAGS_DEBUG-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_CXX_FLAGS_MINSIZEREL
|
||||
CMAKE_CXX_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_CXX_FLAGS_RELEASE
|
||||
CMAKE_CXX_FLAGS_RELEASE-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_CXX_FLAGS_RELWITHDEBINFO
|
||||
CMAKE_CXX_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_C_COMPILER
|
||||
CMAKE_C_COMPILER-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_C_FLAGS
|
||||
CMAKE_C_FLAGS-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_C_FLAGS_DEBUG
|
||||
CMAKE_C_FLAGS_DEBUG-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_C_FLAGS_MINSIZEREL
|
||||
CMAKE_C_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_C_FLAGS_RELEASE
|
||||
CMAKE_C_FLAGS_RELEASE-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_C_FLAGS_RELWITHDEBINFO
|
||||
CMAKE_C_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_DLLTOOL
|
||||
CMAKE_DLLTOOL-ADVANCED:INTERNAL=1
|
||||
//Executable file format
|
||||
CMAKE_EXECUTABLE_FORMAT:INTERNAL=ELF
|
||||
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS
|
||||
CMAKE_EXE_LINKER_FLAGS-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_DEBUG
|
||||
CMAKE_EXE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_MINSIZEREL
|
||||
CMAKE_EXE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELEASE
|
||||
CMAKE_EXE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO
|
||||
CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_EXPORT_COMPILE_COMMANDS
|
||||
CMAKE_EXPORT_COMPILE_COMMANDS-ADVANCED:INTERNAL=1
|
||||
//Name of external makefile project generator.
|
||||
CMAKE_EXTRA_GENERATOR:INTERNAL=
|
||||
//Name of generator.
|
||||
CMAKE_GENERATOR:INTERNAL=Unix Makefiles
|
||||
//Generator instance identifier.
|
||||
CMAKE_GENERATOR_INSTANCE:INTERNAL=
|
||||
//Name of generator platform.
|
||||
CMAKE_GENERATOR_PLATFORM:INTERNAL=
|
||||
//Name of generator toolset.
|
||||
CMAKE_GENERATOR_TOOLSET:INTERNAL=
|
||||
//Test CMAKE_HAVE_LIBC_PTHREAD
|
||||
CMAKE_HAVE_LIBC_PTHREAD:INTERNAL=1
|
||||
//Have include pthread.h
|
||||
CMAKE_HAVE_PTHREAD_H:INTERNAL=1
|
||||
//Source directory with the top level CMakeLists.txt file for this
|
||||
// project
|
||||
CMAKE_HOME_DIRECTORY:INTERNAL=/home/jianyuzh/ws/llama.cpp/develop/examples
|
||||
//Install .so files without execute permission.
|
||||
CMAKE_INSTALL_SO_NO_EXE:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_LINKER
|
||||
CMAKE_LINKER-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_MAKE_PROGRAM
|
||||
CMAKE_MAKE_PROGRAM-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS
|
||||
CMAKE_MODULE_LINKER_FLAGS-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_DEBUG
|
||||
CMAKE_MODULE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL
|
||||
CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELEASE
|
||||
CMAKE_MODULE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO
|
||||
CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_NM
|
||||
CMAKE_NM-ADVANCED:INTERNAL=1
|
||||
//number of local generators
|
||||
CMAKE_NUMBER_OF_MAKEFILES:INTERNAL=26
|
||||
//ADVANCED property for variable: CMAKE_OBJCOPY
|
||||
CMAKE_OBJCOPY-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_OBJDUMP
|
||||
CMAKE_OBJDUMP-ADVANCED:INTERNAL=1
|
||||
//Platform information initialized
|
||||
CMAKE_PLATFORM_INFO_INITIALIZED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_RANLIB
|
||||
CMAKE_RANLIB-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_READELF
|
||||
CMAKE_READELF-ADVANCED:INTERNAL=1
|
||||
//Path to CMake installation.
|
||||
CMAKE_ROOT:INTERNAL=/usr/share/cmake-3.22
|
||||
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS
|
||||
CMAKE_SHARED_LINKER_FLAGS-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_DEBUG
|
||||
CMAKE_SHARED_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL
|
||||
CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELEASE
|
||||
CMAKE_SHARED_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO
|
||||
CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_SKIP_INSTALL_RPATH
|
||||
CMAKE_SKIP_INSTALL_RPATH-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_SKIP_RPATH
|
||||
CMAKE_SKIP_RPATH-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS
|
||||
CMAKE_STATIC_LINKER_FLAGS-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_DEBUG
|
||||
CMAKE_STATIC_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL
|
||||
CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELEASE
|
||||
CMAKE_STATIC_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO
|
||||
CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_STRIP
|
||||
CMAKE_STRIP-ADVANCED:INTERNAL=1
|
||||
//uname command
|
||||
CMAKE_UNAME:INTERNAL=/usr/bin/uname
|
||||
//ADVANCED property for variable: CMAKE_VERBOSE_MAKEFILE
|
||||
CMAKE_VERBOSE_MAKEFILE-ADVANCED:INTERNAL=1
|
||||
//Details about finding Threads
|
||||
FIND_PACKAGE_MESSAGE_DETAILS_Threads:INTERNAL=[TRUE][v()]
|
||||
//ADVANCED property for variable: XIAR
|
||||
XIAR-ADVANCED:INTERNAL=1
|
||||
|
72
examples/sycl/CMakeFiles/3.22.1/CMakeCCompiler.cmake
Normal file
72
examples/sycl/CMakeFiles/3.22.1/CMakeCCompiler.cmake
Normal file
|
@ -0,0 +1,72 @@
|
|||
set(CMAKE_C_COMPILER "/opt/intel/oneapi/compiler/2024.0/bin/icx")
|
||||
set(CMAKE_C_COMPILER_ARG1 "")
|
||||
set(CMAKE_C_COMPILER_ID "IntelLLVM")
|
||||
set(CMAKE_C_COMPILER_VERSION "2024.0.0")
|
||||
set(CMAKE_C_COMPILER_VERSION_INTERNAL "")
|
||||
set(CMAKE_C_COMPILER_WRAPPER "")
|
||||
set(CMAKE_C_STANDARD_COMPUTED_DEFAULT "17")
|
||||
set(CMAKE_C_EXTENSIONS_COMPUTED_DEFAULT "ON")
|
||||
set(CMAKE_C_COMPILE_FEATURES "c_std_90;c_function_prototypes;c_std_99;c_restrict;c_variadic_macros;c_std_11;c_static_assert;c_std_17")
|
||||
set(CMAKE_C90_COMPILE_FEATURES "c_std_90;c_function_prototypes")
|
||||
set(CMAKE_C99_COMPILE_FEATURES "c_std_99;c_restrict;c_variadic_macros")
|
||||
set(CMAKE_C11_COMPILE_FEATURES "c_std_11;c_static_assert")
|
||||
set(CMAKE_C17_COMPILE_FEATURES "c_std_17")
|
||||
set(CMAKE_C23_COMPILE_FEATURES "")
|
||||
|
||||
set(CMAKE_C_PLATFORM_ID "Linux")
|
||||
set(CMAKE_C_SIMULATE_ID "GNU")
|
||||
set(CMAKE_C_COMPILER_FRONTEND_VARIANT "GNU")
|
||||
set(CMAKE_C_SIMULATE_VERSION "4.2.1")
|
||||
|
||||
|
||||
|
||||
|
||||
set(CMAKE_AR "/usr/bin/ar")
|
||||
set(CMAKE_C_COMPILER_AR "")
|
||||
set(CMAKE_RANLIB "/usr/bin/ranlib")
|
||||
set(CMAKE_C_COMPILER_RANLIB "")
|
||||
set(CMAKE_LINKER "/usr/bin/ld")
|
||||
set(CMAKE_MT "")
|
||||
set(CMAKE_COMPILER_IS_GNUCC )
|
||||
set(CMAKE_C_COMPILER_LOADED 1)
|
||||
set(CMAKE_C_COMPILER_WORKS TRUE)
|
||||
set(CMAKE_C_ABI_COMPILED TRUE)
|
||||
|
||||
set(CMAKE_C_COMPILER_ENV_VAR "CC")
|
||||
|
||||
set(CMAKE_C_COMPILER_ID_RUN 1)
|
||||
set(CMAKE_C_SOURCE_FILE_EXTENSIONS c;m)
|
||||
set(CMAKE_C_IGNORE_EXTENSIONS h;H;o;O;obj;OBJ;def;DEF;rc;RC)
|
||||
set(CMAKE_C_LINKER_PREFERENCE 10)
|
||||
|
||||
# Save compiler ABI information.
|
||||
set(CMAKE_C_SIZEOF_DATA_PTR "8")
|
||||
set(CMAKE_C_COMPILER_ABI "ELF")
|
||||
set(CMAKE_C_BYTE_ORDER "LITTLE_ENDIAN")
|
||||
set(CMAKE_C_LIBRARY_ARCHITECTURE "x86_64-linux-gnu")
|
||||
|
||||
if(CMAKE_C_SIZEOF_DATA_PTR)
|
||||
set(CMAKE_SIZEOF_VOID_P "${CMAKE_C_SIZEOF_DATA_PTR}")
|
||||
endif()
|
||||
|
||||
if(CMAKE_C_COMPILER_ABI)
|
||||
set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_C_COMPILER_ABI}")
|
||||
endif()
|
||||
|
||||
if(CMAKE_C_LIBRARY_ARCHITECTURE)
|
||||
set(CMAKE_LIBRARY_ARCHITECTURE "x86_64-linux-gnu")
|
||||
endif()
|
||||
|
||||
set(CMAKE_C_CL_SHOWINCLUDES_PREFIX "")
|
||||
if(CMAKE_C_CL_SHOWINCLUDES_PREFIX)
|
||||
set(CMAKE_CL_SHOWINCLUDES_PREFIX "${CMAKE_C_CL_SHOWINCLUDES_PREFIX}")
|
||||
endif()
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
set(CMAKE_C_IMPLICIT_INCLUDE_DIRECTORIES "/opt/intel/oneapi/tbb/2021.11/include;/opt/intel/oneapi/mpi/2021.11/include;/opt/intel/oneapi/mkl/2024.0/include;/opt/intel/oneapi/ippcp/2021.9/include;/opt/intel/oneapi/ipp/2021.10/include;/opt/intel/oneapi/dpl/2022.3/include;/opt/intel/oneapi/dpcpp-ct/2024.0/include;/opt/intel/oneapi/dnnl/2024.0/include;/opt/intel/oneapi/dev-utilities/2024.0/include;/opt/intel/oneapi/dal/2024.0/include/dal;/opt/intel/oneapi/compiler/2024.0/opt/oclfpga/include;/opt/intel/oneapi/ccl/2021.11/include;/opt/intel/oneapi/compiler/2024.0/opt/compiler/include;/opt/intel/oneapi/compiler/2024.0/lib/clang/17/include;/usr/local/include;/usr/include/x86_64-linux-gnu;/usr/include")
|
||||
set(CMAKE_C_IMPLICIT_LINK_LIBRARIES "svml;irng;imf;m;gcc;gcc_s;irc;dl;gcc;gcc_s;c;gcc;gcc_s;irc_s")
|
||||
set(CMAKE_C_IMPLICIT_LINK_DIRECTORIES "/opt/intel/oneapi/compiler/2024.0/lib;/opt/intel/oneapi/compiler/2024.0/lib/clang/17/lib/x86_64-unknown-linux-gnu;/usr/lib/gcc/x86_64-linux-gnu/11;/usr/lib64;/lib/x86_64-linux-gnu;/lib64;/usr/lib/x86_64-linux-gnu;/usr/lib;/opt/intel/oneapi/compiler/2024.0/opt/compiler/lib;/lib;/opt/intel/oneapi/tbb/2021.11/lib/intel64/gcc4.8;/opt/intel/oneapi/mpi/2021.11/lib;/opt/intel/oneapi/mkl/2024.0/lib;/opt/intel/oneapi/ippcp/2021.9/lib;/opt/intel/oneapi/ipp/2021.10/lib;/opt/intel/oneapi/dpl/2022.3/lib;/opt/intel/oneapi/dnnl/2024.0/lib;/opt/intel/oneapi/dal/2024.0/lib;/opt/intel/oneapi/ccl/2021.11/lib")
|
||||
set(CMAKE_C_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "")
|
83
examples/sycl/CMakeFiles/3.22.1/CMakeCXXCompiler.cmake
Normal file
83
examples/sycl/CMakeFiles/3.22.1/CMakeCXXCompiler.cmake
Normal file
|
@ -0,0 +1,83 @@
|
|||
set(CMAKE_CXX_COMPILER "/opt/intel/oneapi/compiler/2024.0/bin/icpx")
|
||||
set(CMAKE_CXX_COMPILER_ARG1 "")
|
||||
set(CMAKE_CXX_COMPILER_ID "IntelLLVM")
|
||||
set(CMAKE_CXX_COMPILER_VERSION "2024.0.0")
|
||||
set(CMAKE_CXX_COMPILER_VERSION_INTERNAL "")
|
||||
set(CMAKE_CXX_COMPILER_WRAPPER "")
|
||||
set(CMAKE_CXX_STANDARD_COMPUTED_DEFAULT "17")
|
||||
set(CMAKE_CXX_EXTENSIONS_COMPUTED_DEFAULT "ON")
|
||||
set(CMAKE_CXX_COMPILE_FEATURES "cxx_std_98;cxx_template_template_parameters;cxx_std_11;cxx_alias_templates;cxx_alignas;cxx_alignof;cxx_attributes;cxx_auto_type;cxx_constexpr;cxx_decltype;cxx_decltype_incomplete_return_types;cxx_default_function_template_args;cxx_defaulted_functions;cxx_defaulted_move_initializers;cxx_delegating_constructors;cxx_deleted_functions;cxx_enum_forward_declarations;cxx_explicit_conversions;cxx_extended_friend_declarations;cxx_extern_templates;cxx_final;cxx_func_identifier;cxx_generalized_initializers;cxx_inheriting_constructors;cxx_inline_namespaces;cxx_lambdas;cxx_local_type_template_args;cxx_long_long_type;cxx_noexcept;cxx_nonstatic_member_init;cxx_nullptr;cxx_override;cxx_range_for;cxx_raw_string_literals;cxx_reference_qualified_functions;cxx_right_angle_brackets;cxx_rvalue_references;cxx_sizeof_member;cxx_static_assert;cxx_strong_enums;cxx_thread_local;cxx_trailing_return_types;cxx_unicode_literals;cxx_uniform_initialization;cxx_unrestricted_unions;cxx_user_literals;cxx_variadic_macros;cxx_variadic_templates;cxx_std_14;cxx_aggregate_default_initializers;cxx_attribute_deprecated;cxx_binary_literals;cxx_contextual_conversions;cxx_decltype_auto;cxx_digit_separators;cxx_generic_lambdas;cxx_lambda_init_captures;cxx_relaxed_constexpr;cxx_return_type_deduction;cxx_variable_templates;cxx_std_17;cxx_std_20")
|
||||
set(CMAKE_CXX98_COMPILE_FEATURES "cxx_std_98;cxx_template_template_parameters")
|
||||
set(CMAKE_CXX11_COMPILE_FEATURES "cxx_std_11;cxx_alias_templates;cxx_alignas;cxx_alignof;cxx_attributes;cxx_auto_type;cxx_constexpr;cxx_decltype;cxx_decltype_incomplete_return_types;cxx_default_function_template_args;cxx_defaulted_functions;cxx_defaulted_move_initializers;cxx_delegating_constructors;cxx_deleted_functions;cxx_enum_forward_declarations;cxx_explicit_conversions;cxx_extended_friend_declarations;cxx_extern_templates;cxx_final;cxx_func_identifier;cxx_generalized_initializers;cxx_inheriting_constructors;cxx_inline_namespaces;cxx_lambdas;cxx_local_type_template_args;cxx_long_long_type;cxx_noexcept;cxx_nonstatic_member_init;cxx_nullptr;cxx_override;cxx_range_for;cxx_raw_string_literals;cxx_reference_qualified_functions;cxx_right_angle_brackets;cxx_rvalue_references;cxx_sizeof_member;cxx_static_assert;cxx_strong_enums;cxx_thread_local;cxx_trailing_return_types;cxx_unicode_literals;cxx_uniform_initialization;cxx_unrestricted_unions;cxx_user_literals;cxx_variadic_macros;cxx_variadic_templates")
|
||||
set(CMAKE_CXX14_COMPILE_FEATURES "cxx_std_14;cxx_aggregate_default_initializers;cxx_attribute_deprecated;cxx_binary_literals;cxx_contextual_conversions;cxx_decltype_auto;cxx_digit_separators;cxx_generic_lambdas;cxx_lambda_init_captures;cxx_relaxed_constexpr;cxx_return_type_deduction;cxx_variable_templates")
|
||||
set(CMAKE_CXX17_COMPILE_FEATURES "cxx_std_17")
|
||||
set(CMAKE_CXX20_COMPILE_FEATURES "cxx_std_20")
|
||||
set(CMAKE_CXX23_COMPILE_FEATURES "")
|
||||
|
||||
set(CMAKE_CXX_PLATFORM_ID "Linux")
|
||||
set(CMAKE_CXX_SIMULATE_ID "GNU")
|
||||
set(CMAKE_CXX_COMPILER_FRONTEND_VARIANT "GNU")
|
||||
set(CMAKE_CXX_SIMULATE_VERSION "4.2.1")
|
||||
|
||||
|
||||
|
||||
|
||||
set(CMAKE_AR "/usr/bin/ar")
|
||||
set(CMAKE_CXX_COMPILER_AR "")
|
||||
set(CMAKE_RANLIB "/usr/bin/ranlib")
|
||||
set(CMAKE_CXX_COMPILER_RANLIB "")
|
||||
set(CMAKE_LINKER "/usr/bin/ld")
|
||||
set(CMAKE_MT "")
|
||||
set(CMAKE_COMPILER_IS_GNUCXX )
|
||||
set(CMAKE_CXX_COMPILER_LOADED 1)
|
||||
set(CMAKE_CXX_COMPILER_WORKS TRUE)
|
||||
set(CMAKE_CXX_ABI_COMPILED TRUE)
|
||||
|
||||
set(CMAKE_CXX_COMPILER_ENV_VAR "CXX")
|
||||
|
||||
set(CMAKE_CXX_COMPILER_ID_RUN 1)
|
||||
set(CMAKE_CXX_SOURCE_FILE_EXTENSIONS C;M;c++;cc;cpp;cxx;m;mm;mpp;CPP;ixx;cppm)
|
||||
set(CMAKE_CXX_IGNORE_EXTENSIONS inl;h;hpp;HPP;H;o;O;obj;OBJ;def;DEF;rc;RC)
|
||||
|
||||
foreach (lang C OBJC OBJCXX)
|
||||
if (CMAKE_${lang}_COMPILER_ID_RUN)
|
||||
foreach(extension IN LISTS CMAKE_${lang}_SOURCE_FILE_EXTENSIONS)
|
||||
list(REMOVE_ITEM CMAKE_CXX_SOURCE_FILE_EXTENSIONS ${extension})
|
||||
endforeach()
|
||||
endif()
|
||||
endforeach()
|
||||
|
||||
set(CMAKE_CXX_LINKER_PREFERENCE 30)
|
||||
set(CMAKE_CXX_LINKER_PREFERENCE_PROPAGATES 1)
|
||||
|
||||
# Save compiler ABI information.
|
||||
set(CMAKE_CXX_SIZEOF_DATA_PTR "8")
|
||||
set(CMAKE_CXX_COMPILER_ABI "ELF")
|
||||
set(CMAKE_CXX_BYTE_ORDER "LITTLE_ENDIAN")
|
||||
set(CMAKE_CXX_LIBRARY_ARCHITECTURE "x86_64-linux-gnu")
|
||||
|
||||
if(CMAKE_CXX_SIZEOF_DATA_PTR)
|
||||
set(CMAKE_SIZEOF_VOID_P "${CMAKE_CXX_SIZEOF_DATA_PTR}")
|
||||
endif()
|
||||
|
||||
if(CMAKE_CXX_COMPILER_ABI)
|
||||
set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_CXX_COMPILER_ABI}")
|
||||
endif()
|
||||
|
||||
if(CMAKE_CXX_LIBRARY_ARCHITECTURE)
|
||||
set(CMAKE_LIBRARY_ARCHITECTURE "x86_64-linux-gnu")
|
||||
endif()
|
||||
|
||||
set(CMAKE_CXX_CL_SHOWINCLUDES_PREFIX "")
|
||||
if(CMAKE_CXX_CL_SHOWINCLUDES_PREFIX)
|
||||
set(CMAKE_CL_SHOWINCLUDES_PREFIX "${CMAKE_CXX_CL_SHOWINCLUDES_PREFIX}")
|
||||
endif()
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
set(CMAKE_CXX_IMPLICIT_INCLUDE_DIRECTORIES "/opt/intel/oneapi/tbb/2021.11/include;/opt/intel/oneapi/mpi/2021.11/include;/opt/intel/oneapi/mkl/2024.0/include;/opt/intel/oneapi/ippcp/2021.9/include;/opt/intel/oneapi/ipp/2021.10/include;/opt/intel/oneapi/dpl/2022.3/include;/opt/intel/oneapi/dpcpp-ct/2024.0/include;/opt/intel/oneapi/dnnl/2024.0/include;/opt/intel/oneapi/dev-utilities/2024.0/include;/opt/intel/oneapi/dal/2024.0/include/dal;/opt/intel/oneapi/compiler/2024.0/opt/oclfpga/include;/opt/intel/oneapi/ccl/2021.11/include;/opt/intel/oneapi/compiler/2024.0/opt/compiler/include;/usr/include/c++/11;/usr/include/x86_64-linux-gnu/c++/11;/usr/include/c++/11/backward;/opt/intel/oneapi/compiler/2024.0/lib/clang/17/include;/usr/local/include;/usr/include/x86_64-linux-gnu;/usr/include")
|
||||
set(CMAKE_CXX_IMPLICIT_LINK_LIBRARIES "svml;irng;stdc++;imf;m;gcc_s;gcc;irc;dl;gcc_s;gcc;c;gcc_s;gcc;irc_s")
|
||||
set(CMAKE_CXX_IMPLICIT_LINK_DIRECTORIES "/opt/intel/oneapi/compiler/2024.0/lib;/opt/intel/oneapi/compiler/2024.0/lib/clang/17/lib/x86_64-unknown-linux-gnu;/usr/lib/gcc/x86_64-linux-gnu/11;/usr/lib64;/lib/x86_64-linux-gnu;/lib64;/usr/lib/x86_64-linux-gnu;/usr/lib;/opt/intel/oneapi/compiler/2024.0/opt/compiler/lib;/lib;/opt/intel/oneapi/tbb/2021.11/lib/intel64/gcc4.8;/opt/intel/oneapi/mpi/2021.11/lib;/opt/intel/oneapi/mkl/2024.0/lib;/opt/intel/oneapi/ippcp/2021.9/lib;/opt/intel/oneapi/ipp/2021.10/lib;/opt/intel/oneapi/dpl/2022.3/lib;/opt/intel/oneapi/dnnl/2024.0/lib;/opt/intel/oneapi/dal/2024.0/lib;/opt/intel/oneapi/ccl/2021.11/lib")
|
||||
set(CMAKE_CXX_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "")
|
15
examples/sycl/CMakeFiles/3.22.1/CMakeSystem.cmake
Normal file
15
examples/sycl/CMakeFiles/3.22.1/CMakeSystem.cmake
Normal file
|
@ -0,0 +1,15 @@
|
|||
set(CMAKE_HOST_SYSTEM "Linux-6.2.0-39-generic")
|
||||
set(CMAKE_HOST_SYSTEM_NAME "Linux")
|
||||
set(CMAKE_HOST_SYSTEM_VERSION "6.2.0-39-generic")
|
||||
set(CMAKE_HOST_SYSTEM_PROCESSOR "x86_64")
|
||||
|
||||
|
||||
|
||||
set(CMAKE_SYSTEM "Linux-6.2.0-39-generic")
|
||||
set(CMAKE_SYSTEM_NAME "Linux")
|
||||
set(CMAKE_SYSTEM_VERSION "6.2.0-39-generic")
|
||||
set(CMAKE_SYSTEM_PROCESSOR "x86_64")
|
||||
|
||||
set(CMAKE_CROSSCOMPILING "FALSE")
|
||||
|
||||
set(CMAKE_SYSTEM_LOADED 1)
|
803
examples/sycl/CMakeFiles/3.22.1/CompilerIdC/CMakeCCompilerId.c
Normal file
803
examples/sycl/CMakeFiles/3.22.1/CompilerIdC/CMakeCCompilerId.c
Normal file
|
@ -0,0 +1,803 @@
|
|||
#ifdef __cplusplus
|
||||
# error "A C++ compiler has been selected for C."
|
||||
#endif
|
||||
|
||||
#if defined(__18CXX)
|
||||
# define ID_VOID_MAIN
|
||||
#endif
|
||||
#if defined(__CLASSIC_C__)
|
||||
/* cv-qualifiers did not exist in K&R C */
|
||||
# define const
|
||||
# define volatile
|
||||
#endif
|
||||
|
||||
#if !defined(__has_include)
|
||||
/* If the compiler does not have __has_include, pretend the answer is
|
||||
always no. */
|
||||
# define __has_include(x) 0
|
||||
#endif
|
||||
|
||||
|
||||
/* Version number components: V=Version, R=Revision, P=Patch
|
||||
Version date components: YYYY=Year, MM=Month, DD=Day */
|
||||
|
||||
#if defined(__INTEL_COMPILER) || defined(__ICC)
|
||||
# define COMPILER_ID "Intel"
|
||||
# if defined(_MSC_VER)
|
||||
# define SIMULATE_ID "MSVC"
|
||||
# endif
|
||||
# if defined(__GNUC__)
|
||||
# define SIMULATE_ID "GNU"
|
||||
# endif
|
||||
/* __INTEL_COMPILER = VRP prior to 2021, and then VVVV for 2021 and later,
|
||||
except that a few beta releases use the old format with V=2021. */
|
||||
# if __INTEL_COMPILER < 2021 || __INTEL_COMPILER == 202110 || __INTEL_COMPILER == 202111
|
||||
# define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER/100)
|
||||
# define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER/10 % 10)
|
||||
# if defined(__INTEL_COMPILER_UPDATE)
|
||||
# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER_UPDATE)
|
||||
# else
|
||||
# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER % 10)
|
||||
# endif
|
||||
# else
|
||||
# define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER)
|
||||
# define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER_UPDATE)
|
||||
/* The third version component from --version is an update index,
|
||||
but no macro is provided for it. */
|
||||
# define COMPILER_VERSION_PATCH DEC(0)
|
||||
# endif
|
||||
# if defined(__INTEL_COMPILER_BUILD_DATE)
|
||||
/* __INTEL_COMPILER_BUILD_DATE = YYYYMMDD */
|
||||
# define COMPILER_VERSION_TWEAK DEC(__INTEL_COMPILER_BUILD_DATE)
|
||||
# endif
|
||||
# if defined(_MSC_VER)
|
||||
/* _MSC_VER = VVRR */
|
||||
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
|
||||
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
|
||||
# endif
|
||||
# if defined(__GNUC__)
|
||||
# define SIMULATE_VERSION_MAJOR DEC(__GNUC__)
|
||||
# elif defined(__GNUG__)
|
||||
# define SIMULATE_VERSION_MAJOR DEC(__GNUG__)
|
||||
# endif
|
||||
# if defined(__GNUC_MINOR__)
|
||||
# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__)
|
||||
# endif
|
||||
# if defined(__GNUC_PATCHLEVEL__)
|
||||
# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
|
||||
# endif
|
||||
|
||||
#elif (defined(__clang__) && defined(__INTEL_CLANG_COMPILER)) || defined(__INTEL_LLVM_COMPILER)
|
||||
# define COMPILER_ID "IntelLLVM"
|
||||
#if defined(_MSC_VER)
|
||||
# define SIMULATE_ID "MSVC"
|
||||
#endif
|
||||
#if defined(__GNUC__)
|
||||
# define SIMULATE_ID "GNU"
|
||||
#endif
|
||||
/* __INTEL_LLVM_COMPILER = VVVVRP prior to 2021.2.0, VVVVRRPP for 2021.2.0 and
|
||||
* later. Look for 6 digit vs. 8 digit version number to decide encoding.
|
||||
* VVVV is no smaller than the current year when a version is released.
|
||||
*/
|
||||
#if __INTEL_LLVM_COMPILER < 1000000L
|
||||
# define COMPILER_VERSION_MAJOR DEC(__INTEL_LLVM_COMPILER/100)
|
||||
# define COMPILER_VERSION_MINOR DEC(__INTEL_LLVM_COMPILER/10 % 10)
|
||||
# define COMPILER_VERSION_PATCH DEC(__INTEL_LLVM_COMPILER % 10)
|
||||
#else
|
||||
# define COMPILER_VERSION_MAJOR DEC(__INTEL_LLVM_COMPILER/10000)
|
||||
# define COMPILER_VERSION_MINOR DEC(__INTEL_LLVM_COMPILER/100 % 100)
|
||||
# define COMPILER_VERSION_PATCH DEC(__INTEL_LLVM_COMPILER % 100)
|
||||
#endif
|
||||
#if defined(_MSC_VER)
|
||||
/* _MSC_VER = VVRR */
|
||||
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
|
||||
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
|
||||
#endif
|
||||
#if defined(__GNUC__)
|
||||
# define SIMULATE_VERSION_MAJOR DEC(__GNUC__)
|
||||
#elif defined(__GNUG__)
|
||||
# define SIMULATE_VERSION_MAJOR DEC(__GNUG__)
|
||||
#endif
|
||||
#if defined(__GNUC_MINOR__)
|
||||
# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__)
|
||||
#endif
|
||||
#if defined(__GNUC_PATCHLEVEL__)
|
||||
# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
|
||||
#endif
|
||||
|
||||
#elif defined(__PATHCC__)
|
||||
# define COMPILER_ID "PathScale"
|
||||
# define COMPILER_VERSION_MAJOR DEC(__PATHCC__)
|
||||
# define COMPILER_VERSION_MINOR DEC(__PATHCC_MINOR__)
|
||||
# if defined(__PATHCC_PATCHLEVEL__)
|
||||
# define COMPILER_VERSION_PATCH DEC(__PATHCC_PATCHLEVEL__)
|
||||
# endif
|
||||
|
||||
#elif defined(__BORLANDC__) && defined(__CODEGEARC_VERSION__)
|
||||
# define COMPILER_ID "Embarcadero"
|
||||
# define COMPILER_VERSION_MAJOR HEX(__CODEGEARC_VERSION__>>24 & 0x00FF)
|
||||
# define COMPILER_VERSION_MINOR HEX(__CODEGEARC_VERSION__>>16 & 0x00FF)
|
||||
# define COMPILER_VERSION_PATCH DEC(__CODEGEARC_VERSION__ & 0xFFFF)
|
||||
|
||||
#elif defined(__BORLANDC__)
|
||||
# define COMPILER_ID "Borland"
|
||||
/* __BORLANDC__ = 0xVRR */
|
||||
# define COMPILER_VERSION_MAJOR HEX(__BORLANDC__>>8)
|
||||
# define COMPILER_VERSION_MINOR HEX(__BORLANDC__ & 0xFF)
|
||||
|
||||
#elif defined(__WATCOMC__) && __WATCOMC__ < 1200
|
||||
# define COMPILER_ID "Watcom"
|
||||
/* __WATCOMC__ = VVRR */
|
||||
# define COMPILER_VERSION_MAJOR DEC(__WATCOMC__ / 100)
|
||||
# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10)
|
||||
# if (__WATCOMC__ % 10) > 0
|
||||
# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10)
|
||||
# endif
|
||||
|
||||
#elif defined(__WATCOMC__)
|
||||
# define COMPILER_ID "OpenWatcom"
|
||||
/* __WATCOMC__ = VVRP + 1100 */
|
||||
# define COMPILER_VERSION_MAJOR DEC((__WATCOMC__ - 1100) / 100)
|
||||
# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10)
|
||||
# if (__WATCOMC__ % 10) > 0
|
||||
# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10)
|
||||
# endif
|
||||
|
||||
#elif defined(__SUNPRO_C)
|
||||
# define COMPILER_ID "SunPro"
|
||||
# if __SUNPRO_C >= 0x5100
|
||||
/* __SUNPRO_C = 0xVRRP */
|
||||
# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_C>>12)
|
||||
# define COMPILER_VERSION_MINOR HEX(__SUNPRO_C>>4 & 0xFF)
|
||||
# define COMPILER_VERSION_PATCH HEX(__SUNPRO_C & 0xF)
|
||||
# else
|
||||
/* __SUNPRO_CC = 0xVRP */
|
||||
# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_C>>8)
|
||||
# define COMPILER_VERSION_MINOR HEX(__SUNPRO_C>>4 & 0xF)
|
||||
# define COMPILER_VERSION_PATCH HEX(__SUNPRO_C & 0xF)
|
||||
# endif
|
||||
|
||||
#elif defined(__HP_cc)
|
||||
# define COMPILER_ID "HP"
|
||||
/* __HP_cc = VVRRPP */
|
||||
# define COMPILER_VERSION_MAJOR DEC(__HP_cc/10000)
|
||||
# define COMPILER_VERSION_MINOR DEC(__HP_cc/100 % 100)
|
||||
# define COMPILER_VERSION_PATCH DEC(__HP_cc % 100)
|
||||
|
||||
#elif defined(__DECC)
|
||||
# define COMPILER_ID "Compaq"
|
||||
/* __DECC_VER = VVRRTPPPP */
|
||||
# define COMPILER_VERSION_MAJOR DEC(__DECC_VER/10000000)
|
||||
# define COMPILER_VERSION_MINOR DEC(__DECC_VER/100000 % 100)
|
||||
# define COMPILER_VERSION_PATCH DEC(__DECC_VER % 10000)
|
||||
|
||||
#elif defined(__IBMC__) && defined(__COMPILER_VER__)
|
||||
# define COMPILER_ID "zOS"
|
||||
/* __IBMC__ = VRP */
|
||||
# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100)
|
||||
# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10)
|
||||
# define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10)
|
||||
|
||||
#elif defined(__ibmxl__) && defined(__clang__)
|
||||
# define COMPILER_ID "XLClang"
|
||||
# define COMPILER_VERSION_MAJOR DEC(__ibmxl_version__)
|
||||
# define COMPILER_VERSION_MINOR DEC(__ibmxl_release__)
|
||||
# define COMPILER_VERSION_PATCH DEC(__ibmxl_modification__)
|
||||
# define COMPILER_VERSION_TWEAK DEC(__ibmxl_ptf_fix_level__)
|
||||
|
||||
|
||||
#elif defined(__IBMC__) && !defined(__COMPILER_VER__) && __IBMC__ >= 800
|
||||
# define COMPILER_ID "XL"
|
||||
/* __IBMC__ = VRP */
|
||||
# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100)
|
||||
# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10)
|
||||
# define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10)
|
||||
|
||||
#elif defined(__IBMC__) && !defined(__COMPILER_VER__) && __IBMC__ < 800
|
||||
# define COMPILER_ID "VisualAge"
|
||||
/* __IBMC__ = VRP */
|
||||
# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100)
|
||||
# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10)
|
||||
# define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10)
|
||||
|
||||
#elif defined(__NVCOMPILER)
|
||||
# define COMPILER_ID "NVHPC"
|
||||
# define COMPILER_VERSION_MAJOR DEC(__NVCOMPILER_MAJOR__)
|
||||
# define COMPILER_VERSION_MINOR DEC(__NVCOMPILER_MINOR__)
|
||||
# if defined(__NVCOMPILER_PATCHLEVEL__)
|
||||
# define COMPILER_VERSION_PATCH DEC(__NVCOMPILER_PATCHLEVEL__)
|
||||
# endif
|
||||
|
||||
#elif defined(__PGI)
|
||||
# define COMPILER_ID "PGI"
|
||||
# define COMPILER_VERSION_MAJOR DEC(__PGIC__)
|
||||
# define COMPILER_VERSION_MINOR DEC(__PGIC_MINOR__)
|
||||
# if defined(__PGIC_PATCHLEVEL__)
|
||||
# define COMPILER_VERSION_PATCH DEC(__PGIC_PATCHLEVEL__)
|
||||
# endif
|
||||
|
||||
#elif defined(_CRAYC)
|
||||
# define COMPILER_ID "Cray"
|
||||
# define COMPILER_VERSION_MAJOR DEC(_RELEASE_MAJOR)
|
||||
# define COMPILER_VERSION_MINOR DEC(_RELEASE_MINOR)
|
||||
|
||||
#elif defined(__TI_COMPILER_VERSION__)
|
||||
# define COMPILER_ID "TI"
|
||||
/* __TI_COMPILER_VERSION__ = VVVRRRPPP */
|
||||
# define COMPILER_VERSION_MAJOR DEC(__TI_COMPILER_VERSION__/1000000)
|
||||
# define COMPILER_VERSION_MINOR DEC(__TI_COMPILER_VERSION__/1000 % 1000)
|
||||
# define COMPILER_VERSION_PATCH DEC(__TI_COMPILER_VERSION__ % 1000)
|
||||
|
||||
#elif defined(__CLANG_FUJITSU)
|
||||
# define COMPILER_ID "FujitsuClang"
|
||||
# define COMPILER_VERSION_MAJOR DEC(__FCC_major__)
|
||||
# define COMPILER_VERSION_MINOR DEC(__FCC_minor__)
|
||||
# define COMPILER_VERSION_PATCH DEC(__FCC_patchlevel__)
|
||||
# define COMPILER_VERSION_INTERNAL_STR __clang_version__
|
||||
|
||||
|
||||
#elif defined(__FUJITSU)
|
||||
# define COMPILER_ID "Fujitsu"
|
||||
# if defined(__FCC_version__)
|
||||
# define COMPILER_VERSION __FCC_version__
|
||||
# elif defined(__FCC_major__)
|
||||
# define COMPILER_VERSION_MAJOR DEC(__FCC_major__)
|
||||
# define COMPILER_VERSION_MINOR DEC(__FCC_minor__)
|
||||
# define COMPILER_VERSION_PATCH DEC(__FCC_patchlevel__)
|
||||
# endif
|
||||
# if defined(__fcc_version)
|
||||
# define COMPILER_VERSION_INTERNAL DEC(__fcc_version)
|
||||
# elif defined(__FCC_VERSION)
|
||||
# define COMPILER_VERSION_INTERNAL DEC(__FCC_VERSION)
|
||||
# endif
|
||||
|
||||
|
||||
#elif defined(__ghs__)
|
||||
# define COMPILER_ID "GHS"
|
||||
/* __GHS_VERSION_NUMBER = VVVVRP */
|
||||
# ifdef __GHS_VERSION_NUMBER
|
||||
# define COMPILER_VERSION_MAJOR DEC(__GHS_VERSION_NUMBER / 100)
|
||||
# define COMPILER_VERSION_MINOR DEC(__GHS_VERSION_NUMBER / 10 % 10)
|
||||
# define COMPILER_VERSION_PATCH DEC(__GHS_VERSION_NUMBER % 10)
|
||||
# endif
|
||||
|
||||
#elif defined(__TINYC__)
|
||||
# define COMPILER_ID "TinyCC"
|
||||
|
||||
#elif defined(__BCC__)
|
||||
# define COMPILER_ID "Bruce"
|
||||
|
||||
#elif defined(__SCO_VERSION__)
|
||||
# define COMPILER_ID "SCO"
|
||||
|
||||
#elif defined(__ARMCC_VERSION) && !defined(__clang__)
|
||||
# define COMPILER_ID "ARMCC"
|
||||
#if __ARMCC_VERSION >= 1000000
|
||||
/* __ARMCC_VERSION = VRRPPPP */
|
||||
# define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/1000000)
|
||||
# define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 100)
|
||||
# define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000)
|
||||
#else
|
||||
/* __ARMCC_VERSION = VRPPPP */
|
||||
# define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/100000)
|
||||
# define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 10)
|
||||
# define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000)
|
||||
#endif
|
||||
|
||||
|
||||
#elif defined(__clang__) && defined(__apple_build_version__)
|
||||
# define COMPILER_ID "AppleClang"
|
||||
# if defined(_MSC_VER)
|
||||
# define SIMULATE_ID "MSVC"
|
||||
# endif
|
||||
# define COMPILER_VERSION_MAJOR DEC(__clang_major__)
|
||||
# define COMPILER_VERSION_MINOR DEC(__clang_minor__)
|
||||
# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__)
|
||||
# if defined(_MSC_VER)
|
||||
/* _MSC_VER = VVRR */
|
||||
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
|
||||
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
|
||||
# endif
|
||||
# define COMPILER_VERSION_TWEAK DEC(__apple_build_version__)
|
||||
|
||||
#elif defined(__clang__) && defined(__ARMCOMPILER_VERSION)
|
||||
# define COMPILER_ID "ARMClang"
|
||||
# define COMPILER_VERSION_MAJOR DEC(__ARMCOMPILER_VERSION/1000000)
|
||||
# define COMPILER_VERSION_MINOR DEC(__ARMCOMPILER_VERSION/10000 % 100)
|
||||
# define COMPILER_VERSION_PATCH DEC(__ARMCOMPILER_VERSION % 10000)
|
||||
# define COMPILER_VERSION_INTERNAL DEC(__ARMCOMPILER_VERSION)
|
||||
|
||||
#elif defined(__clang__)
|
||||
# define COMPILER_ID "Clang"
|
||||
# if defined(_MSC_VER)
|
||||
# define SIMULATE_ID "MSVC"
|
||||
# endif
|
||||
# define COMPILER_VERSION_MAJOR DEC(__clang_major__)
|
||||
# define COMPILER_VERSION_MINOR DEC(__clang_minor__)
|
||||
# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__)
|
||||
# if defined(_MSC_VER)
|
||||
/* _MSC_VER = VVRR */
|
||||
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
|
||||
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
|
||||
# endif
|
||||
|
||||
#elif defined(__GNUC__)
|
||||
# define COMPILER_ID "GNU"
|
||||
# define COMPILER_VERSION_MAJOR DEC(__GNUC__)
|
||||
# if defined(__GNUC_MINOR__)
|
||||
# define COMPILER_VERSION_MINOR DEC(__GNUC_MINOR__)
|
||||
# endif
|
||||
# if defined(__GNUC_PATCHLEVEL__)
|
||||
# define COMPILER_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
|
||||
# endif
|
||||
|
||||
#elif defined(_MSC_VER)
|
||||
# define COMPILER_ID "MSVC"
|
||||
/* _MSC_VER = VVRR */
|
||||
# define COMPILER_VERSION_MAJOR DEC(_MSC_VER / 100)
|
||||
# define COMPILER_VERSION_MINOR DEC(_MSC_VER % 100)
|
||||
# if defined(_MSC_FULL_VER)
|
||||
# if _MSC_VER >= 1400
|
||||
/* _MSC_FULL_VER = VVRRPPPPP */
|
||||
# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 100000)
|
||||
# else
|
||||
/* _MSC_FULL_VER = VVRRPPPP */
|
||||
# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 10000)
|
||||
# endif
|
||||
# endif
|
||||
# if defined(_MSC_BUILD)
|
||||
# define COMPILER_VERSION_TWEAK DEC(_MSC_BUILD)
|
||||
# endif
|
||||
|
||||
#elif defined(__VISUALDSPVERSION__) || defined(__ADSPBLACKFIN__) || defined(__ADSPTS__) || defined(__ADSP21000__)
|
||||
# define COMPILER_ID "ADSP"
|
||||
#if defined(__VISUALDSPVERSION__)
|
||||
/* __VISUALDSPVERSION__ = 0xVVRRPP00 */
|
||||
# define COMPILER_VERSION_MAJOR HEX(__VISUALDSPVERSION__>>24)
|
||||
# define COMPILER_VERSION_MINOR HEX(__VISUALDSPVERSION__>>16 & 0xFF)
|
||||
# define COMPILER_VERSION_PATCH HEX(__VISUALDSPVERSION__>>8 & 0xFF)
|
||||
#endif
|
||||
|
||||
#elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC)
|
||||
# define COMPILER_ID "IAR"
|
||||
# if defined(__VER__) && defined(__ICCARM__)
|
||||
# define COMPILER_VERSION_MAJOR DEC((__VER__) / 1000000)
|
||||
# define COMPILER_VERSION_MINOR DEC(((__VER__) / 1000) % 1000)
|
||||
# define COMPILER_VERSION_PATCH DEC((__VER__) % 1000)
|
||||
# define COMPILER_VERSION_INTERNAL DEC(__IAR_SYSTEMS_ICC__)
|
||||
# elif defined(__VER__) && (defined(__ICCAVR__) || defined(__ICCRX__) || defined(__ICCRH850__) || defined(__ICCRL78__) || defined(__ICC430__) || defined(__ICCRISCV__) || defined(__ICCV850__) || defined(__ICC8051__) || defined(__ICCSTM8__))
|
||||
# define COMPILER_VERSION_MAJOR DEC((__VER__) / 100)
|
||||
# define COMPILER_VERSION_MINOR DEC((__VER__) - (((__VER__) / 100)*100))
|
||||
# define COMPILER_VERSION_PATCH DEC(__SUBVERSION__)
|
||||
# define COMPILER_VERSION_INTERNAL DEC(__IAR_SYSTEMS_ICC__)
|
||||
# endif
|
||||
|
||||
#elif defined(__SDCC_VERSION_MAJOR) || defined(SDCC)
|
||||
# define COMPILER_ID "SDCC"
|
||||
# if defined(__SDCC_VERSION_MAJOR)
|
||||
# define COMPILER_VERSION_MAJOR DEC(__SDCC_VERSION_MAJOR)
|
||||
# define COMPILER_VERSION_MINOR DEC(__SDCC_VERSION_MINOR)
|
||||
# define COMPILER_VERSION_PATCH DEC(__SDCC_VERSION_PATCH)
|
||||
# else
|
||||
/* SDCC = VRP */
|
||||
# define COMPILER_VERSION_MAJOR DEC(SDCC/100)
|
||||
# define COMPILER_VERSION_MINOR DEC(SDCC/10 % 10)
|
||||
# define COMPILER_VERSION_PATCH DEC(SDCC % 10)
|
||||
# endif
|
||||
|
||||
|
||||
/* These compilers are either not known or too old to define an
|
||||
identification macro. Try to identify the platform and guess that
|
||||
it is the native compiler. */
|
||||
#elif defined(__hpux) || defined(__hpua)
|
||||
# define COMPILER_ID "HP"
|
||||
|
||||
#else /* unknown compiler */
|
||||
# define COMPILER_ID ""
|
||||
#endif
|
||||
|
||||
/* Construct the string literal in pieces to prevent the source from
|
||||
getting matched. Store it in a pointer rather than an array
|
||||
because some compilers will just produce instructions to fill the
|
||||
array rather than assigning a pointer to a static array. */
|
||||
char const* info_compiler = "INFO" ":" "compiler[" COMPILER_ID "]";
|
||||
#ifdef SIMULATE_ID
|
||||
char const* info_simulate = "INFO" ":" "simulate[" SIMULATE_ID "]";
|
||||
#endif
|
||||
|
||||
#ifdef __QNXNTO__
|
||||
char const* qnxnto = "INFO" ":" "qnxnto[]";
|
||||
#endif
|
||||
|
||||
#if defined(__CRAYXT_COMPUTE_LINUX_TARGET)
|
||||
char const *info_cray = "INFO" ":" "compiler_wrapper[CrayPrgEnv]";
|
||||
#endif
|
||||
|
||||
#define STRINGIFY_HELPER(X) #X
|
||||
#define STRINGIFY(X) STRINGIFY_HELPER(X)
|
||||
|
||||
/* Identify known platforms by name. */
|
||||
#if defined(__linux) || defined(__linux__) || defined(linux)
|
||||
# define PLATFORM_ID "Linux"
|
||||
|
||||
#elif defined(__MSYS__)
|
||||
# define PLATFORM_ID "MSYS"
|
||||
|
||||
#elif defined(__CYGWIN__)
|
||||
# define PLATFORM_ID "Cygwin"
|
||||
|
||||
#elif defined(__MINGW32__)
|
||||
# define PLATFORM_ID "MinGW"
|
||||
|
||||
#elif defined(__APPLE__)
|
||||
# define PLATFORM_ID "Darwin"
|
||||
|
||||
#elif defined(_WIN32) || defined(__WIN32__) || defined(WIN32)
|
||||
# define PLATFORM_ID "Windows"
|
||||
|
||||
#elif defined(__FreeBSD__) || defined(__FreeBSD)
|
||||
# define PLATFORM_ID "FreeBSD"
|
||||
|
||||
#elif defined(__NetBSD__) || defined(__NetBSD)
|
||||
# define PLATFORM_ID "NetBSD"
|
||||
|
||||
#elif defined(__OpenBSD__) || defined(__OPENBSD)
|
||||
# define PLATFORM_ID "OpenBSD"
|
||||
|
||||
#elif defined(__sun) || defined(sun)
|
||||
# define PLATFORM_ID "SunOS"
|
||||
|
||||
#elif defined(_AIX) || defined(__AIX) || defined(__AIX__) || defined(__aix) || defined(__aix__)
|
||||
# define PLATFORM_ID "AIX"
|
||||
|
||||
#elif defined(__hpux) || defined(__hpux__)
|
||||
# define PLATFORM_ID "HP-UX"
|
||||
|
||||
#elif defined(__HAIKU__)
|
||||
# define PLATFORM_ID "Haiku"
|
||||
|
||||
#elif defined(__BeOS) || defined(__BEOS__) || defined(_BEOS)
|
||||
# define PLATFORM_ID "BeOS"
|
||||
|
||||
#elif defined(__QNX__) || defined(__QNXNTO__)
|
||||
# define PLATFORM_ID "QNX"
|
||||
|
||||
#elif defined(__tru64) || defined(_tru64) || defined(__TRU64__)
|
||||
# define PLATFORM_ID "Tru64"
|
||||
|
||||
#elif defined(__riscos) || defined(__riscos__)
|
||||
# define PLATFORM_ID "RISCos"
|
||||
|
||||
#elif defined(__sinix) || defined(__sinix__) || defined(__SINIX__)
|
||||
# define PLATFORM_ID "SINIX"
|
||||
|
||||
#elif defined(__UNIX_SV__)
|
||||
# define PLATFORM_ID "UNIX_SV"
|
||||
|
||||
#elif defined(__bsdos__)
|
||||
# define PLATFORM_ID "BSDOS"
|
||||
|
||||
#elif defined(_MPRAS) || defined(MPRAS)
|
||||
# define PLATFORM_ID "MP-RAS"
|
||||
|
||||
#elif defined(__osf) || defined(__osf__)
|
||||
# define PLATFORM_ID "OSF1"
|
||||
|
||||
#elif defined(_SCO_SV) || defined(SCO_SV) || defined(sco_sv)
|
||||
# define PLATFORM_ID "SCO_SV"
|
||||
|
||||
#elif defined(__ultrix) || defined(__ultrix__) || defined(_ULTRIX)
|
||||
# define PLATFORM_ID "ULTRIX"
|
||||
|
||||
#elif defined(__XENIX__) || defined(_XENIX) || defined(XENIX)
|
||||
# define PLATFORM_ID "Xenix"
|
||||
|
||||
#elif defined(__WATCOMC__)
|
||||
# if defined(__LINUX__)
|
||||
# define PLATFORM_ID "Linux"
|
||||
|
||||
# elif defined(__DOS__)
|
||||
# define PLATFORM_ID "DOS"
|
||||
|
||||
# elif defined(__OS2__)
|
||||
# define PLATFORM_ID "OS2"
|
||||
|
||||
# elif defined(__WINDOWS__)
|
||||
# define PLATFORM_ID "Windows3x"
|
||||
|
||||
# elif defined(__VXWORKS__)
|
||||
# define PLATFORM_ID "VxWorks"
|
||||
|
||||
# else /* unknown platform */
|
||||
# define PLATFORM_ID
|
||||
# endif
|
||||
|
||||
#elif defined(__INTEGRITY)
|
||||
# if defined(INT_178B)
|
||||
# define PLATFORM_ID "Integrity178"
|
||||
|
||||
# else /* regular Integrity */
|
||||
# define PLATFORM_ID "Integrity"
|
||||
# endif
|
||||
|
||||
#else /* unknown platform */
|
||||
# define PLATFORM_ID
|
||||
|
||||
#endif
|
||||
|
||||
/* For windows compilers MSVC and Intel we can determine
|
||||
the architecture of the compiler being used. This is because
|
||||
the compilers do not have flags that can change the architecture,
|
||||
but rather depend on which compiler is being used
|
||||
*/
|
||||
#if defined(_WIN32) && defined(_MSC_VER)
|
||||
# if defined(_M_IA64)
|
||||
# define ARCHITECTURE_ID "IA64"
|
||||
|
||||
# elif defined(_M_ARM64EC)
|
||||
# define ARCHITECTURE_ID "ARM64EC"
|
||||
|
||||
# elif defined(_M_X64) || defined(_M_AMD64)
|
||||
# define ARCHITECTURE_ID "x64"
|
||||
|
||||
# elif defined(_M_IX86)
|
||||
# define ARCHITECTURE_ID "X86"
|
||||
|
||||
# elif defined(_M_ARM64)
|
||||
# define ARCHITECTURE_ID "ARM64"
|
||||
|
||||
# elif defined(_M_ARM)
|
||||
# if _M_ARM == 4
|
||||
# define ARCHITECTURE_ID "ARMV4I"
|
||||
# elif _M_ARM == 5
|
||||
# define ARCHITECTURE_ID "ARMV5I"
|
||||
# else
|
||||
# define ARCHITECTURE_ID "ARMV" STRINGIFY(_M_ARM)
|
||||
# endif
|
||||
|
||||
# elif defined(_M_MIPS)
|
||||
# define ARCHITECTURE_ID "MIPS"
|
||||
|
||||
# elif defined(_M_SH)
|
||||
# define ARCHITECTURE_ID "SHx"
|
||||
|
||||
# else /* unknown architecture */
|
||||
# define ARCHITECTURE_ID ""
|
||||
# endif
|
||||
|
||||
#elif defined(__WATCOMC__)
|
||||
# if defined(_M_I86)
|
||||
# define ARCHITECTURE_ID "I86"
|
||||
|
||||
# elif defined(_M_IX86)
|
||||
# define ARCHITECTURE_ID "X86"
|
||||
|
||||
# else /* unknown architecture */
|
||||
# define ARCHITECTURE_ID ""
|
||||
# endif
|
||||
|
||||
#elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC)
|
||||
# if defined(__ICCARM__)
|
||||
# define ARCHITECTURE_ID "ARM"
|
||||
|
||||
# elif defined(__ICCRX__)
|
||||
# define ARCHITECTURE_ID "RX"
|
||||
|
||||
# elif defined(__ICCRH850__)
|
||||
# define ARCHITECTURE_ID "RH850"
|
||||
|
||||
# elif defined(__ICCRL78__)
|
||||
# define ARCHITECTURE_ID "RL78"
|
||||
|
||||
# elif defined(__ICCRISCV__)
|
||||
# define ARCHITECTURE_ID "RISCV"
|
||||
|
||||
# elif defined(__ICCAVR__)
|
||||
# define ARCHITECTURE_ID "AVR"
|
||||
|
||||
# elif defined(__ICC430__)
|
||||
# define ARCHITECTURE_ID "MSP430"
|
||||
|
||||
# elif defined(__ICCV850__)
|
||||
# define ARCHITECTURE_ID "V850"
|
||||
|
||||
# elif defined(__ICC8051__)
|
||||
# define ARCHITECTURE_ID "8051"
|
||||
|
||||
# elif defined(__ICCSTM8__)
|
||||
# define ARCHITECTURE_ID "STM8"
|
||||
|
||||
# else /* unknown architecture */
|
||||
# define ARCHITECTURE_ID ""
|
||||
# endif
|
||||
|
||||
#elif defined(__ghs__)
|
||||
# if defined(__PPC64__)
|
||||
# define ARCHITECTURE_ID "PPC64"
|
||||
|
||||
# elif defined(__ppc__)
|
||||
# define ARCHITECTURE_ID "PPC"
|
||||
|
||||
# elif defined(__ARM__)
|
||||
# define ARCHITECTURE_ID "ARM"
|
||||
|
||||
# elif defined(__x86_64__)
|
||||
# define ARCHITECTURE_ID "x64"
|
||||
|
||||
# elif defined(__i386__)
|
||||
# define ARCHITECTURE_ID "X86"
|
||||
|
||||
# else /* unknown architecture */
|
||||
# define ARCHITECTURE_ID ""
|
||||
# endif
|
||||
|
||||
#elif defined(__TI_COMPILER_VERSION__)
|
||||
# if defined(__TI_ARM__)
|
||||
# define ARCHITECTURE_ID "ARM"
|
||||
|
||||
# elif defined(__MSP430__)
|
||||
# define ARCHITECTURE_ID "MSP430"
|
||||
|
||||
# elif defined(__TMS320C28XX__)
|
||||
# define ARCHITECTURE_ID "TMS320C28x"
|
||||
|
||||
# elif defined(__TMS320C6X__) || defined(_TMS320C6X)
|
||||
# define ARCHITECTURE_ID "TMS320C6x"
|
||||
|
||||
# else /* unknown architecture */
|
||||
# define ARCHITECTURE_ID ""
|
||||
# endif
|
||||
|
||||
#else
|
||||
# define ARCHITECTURE_ID
|
||||
#endif
|
||||
|
||||
/* Convert integer to decimal digit literals. */
|
||||
#define DEC(n) \
|
||||
('0' + (((n) / 10000000)%10)), \
|
||||
('0' + (((n) / 1000000)%10)), \
|
||||
('0' + (((n) / 100000)%10)), \
|
||||
('0' + (((n) / 10000)%10)), \
|
||||
('0' + (((n) / 1000)%10)), \
|
||||
('0' + (((n) / 100)%10)), \
|
||||
('0' + (((n) / 10)%10)), \
|
||||
('0' + ((n) % 10))
|
||||
|
||||
/* Convert integer to hex digit literals. */
|
||||
#define HEX(n) \
|
||||
('0' + ((n)>>28 & 0xF)), \
|
||||
('0' + ((n)>>24 & 0xF)), \
|
||||
('0' + ((n)>>20 & 0xF)), \
|
||||
('0' + ((n)>>16 & 0xF)), \
|
||||
('0' + ((n)>>12 & 0xF)), \
|
||||
('0' + ((n)>>8 & 0xF)), \
|
||||
('0' + ((n)>>4 & 0xF)), \
|
||||
('0' + ((n) & 0xF))
|
||||
|
||||
/* Construct a string literal encoding the version number. */
|
||||
#ifdef COMPILER_VERSION
|
||||
char const* info_version = "INFO" ":" "compiler_version[" COMPILER_VERSION "]";
|
||||
|
||||
/* Construct a string literal encoding the version number components. */
|
||||
#elif defined(COMPILER_VERSION_MAJOR)
|
||||
char const info_version[] = {
|
||||
'I', 'N', 'F', 'O', ':',
|
||||
'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','[',
|
||||
COMPILER_VERSION_MAJOR,
|
||||
# ifdef COMPILER_VERSION_MINOR
|
||||
'.', COMPILER_VERSION_MINOR,
|
||||
# ifdef COMPILER_VERSION_PATCH
|
||||
'.', COMPILER_VERSION_PATCH,
|
||||
# ifdef COMPILER_VERSION_TWEAK
|
||||
'.', COMPILER_VERSION_TWEAK,
|
||||
# endif
|
||||
# endif
|
||||
# endif
|
||||
']','\0'};
|
||||
#endif
|
||||
|
||||
/* Construct a string literal encoding the internal version number. */
|
||||
#ifdef COMPILER_VERSION_INTERNAL
|
||||
char const info_version_internal[] = {
|
||||
'I', 'N', 'F', 'O', ':',
|
||||
'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','_',
|
||||
'i','n','t','e','r','n','a','l','[',
|
||||
COMPILER_VERSION_INTERNAL,']','\0'};
|
||||
#elif defined(COMPILER_VERSION_INTERNAL_STR)
|
||||
char const* info_version_internal = "INFO" ":" "compiler_version_internal[" COMPILER_VERSION_INTERNAL_STR "]";
|
||||
#endif
|
||||
|
||||
/* Construct a string literal encoding the version number components. */
|
||||
#ifdef SIMULATE_VERSION_MAJOR
|
||||
char const info_simulate_version[] = {
|
||||
'I', 'N', 'F', 'O', ':',
|
||||
's','i','m','u','l','a','t','e','_','v','e','r','s','i','o','n','[',
|
||||
SIMULATE_VERSION_MAJOR,
|
||||
# ifdef SIMULATE_VERSION_MINOR
|
||||
'.', SIMULATE_VERSION_MINOR,
|
||||
# ifdef SIMULATE_VERSION_PATCH
|
||||
'.', SIMULATE_VERSION_PATCH,
|
||||
# ifdef SIMULATE_VERSION_TWEAK
|
||||
'.', SIMULATE_VERSION_TWEAK,
|
||||
# endif
|
||||
# endif
|
||||
# endif
|
||||
']','\0'};
|
||||
#endif
|
||||
|
||||
/* Construct the string literal in pieces to prevent the source from
|
||||
getting matched. Store it in a pointer rather than an array
|
||||
because some compilers will just produce instructions to fill the
|
||||
array rather than assigning a pointer to a static array. */
|
||||
char const* info_platform = "INFO" ":" "platform[" PLATFORM_ID "]";
|
||||
char const* info_arch = "INFO" ":" "arch[" ARCHITECTURE_ID "]";
|
||||
|
||||
|
||||
|
||||
#if !defined(__STDC__) && !defined(__clang__)
|
||||
# if defined(_MSC_VER) || defined(__ibmxl__) || defined(__IBMC__)
|
||||
# define C_VERSION "90"
|
||||
# else
|
||||
# define C_VERSION
|
||||
# endif
|
||||
#elif __STDC_VERSION__ > 201710L
|
||||
# define C_VERSION "23"
|
||||
#elif __STDC_VERSION__ >= 201710L
|
||||
# define C_VERSION "17"
|
||||
#elif __STDC_VERSION__ >= 201000L
|
||||
# define C_VERSION "11"
|
||||
#elif __STDC_VERSION__ >= 199901L
|
||||
# define C_VERSION "99"
|
||||
#else
|
||||
# define C_VERSION "90"
|
||||
#endif
|
||||
const char* info_language_standard_default =
|
||||
"INFO" ":" "standard_default[" C_VERSION "]";
|
||||
|
||||
const char* info_language_extensions_default = "INFO" ":" "extensions_default["
|
||||
/* !defined(_MSC_VER) to exclude Clang's MSVC compatibility mode. */
|
||||
#if (defined(__clang__) || defined(__GNUC__) || \
|
||||
defined(__TI_COMPILER_VERSION__)) && \
|
||||
!defined(__STRICT_ANSI__) && !defined(_MSC_VER)
|
||||
"ON"
|
||||
#else
|
||||
"OFF"
|
||||
#endif
|
||||
"]";
|
||||
|
||||
/*--------------------------------------------------------------------------*/
|
||||
|
||||
#ifdef ID_VOID_MAIN
|
||||
void main() {}
|
||||
#else
|
||||
# if defined(__CLASSIC_C__)
|
||||
int main(argc, argv) int argc; char *argv[];
|
||||
# else
|
||||
int main(int argc, char* argv[])
|
||||
# endif
|
||||
{
|
||||
int require = 0;
|
||||
require += info_compiler[argc];
|
||||
require += info_platform[argc];
|
||||
require += info_arch[argc];
|
||||
#ifdef COMPILER_VERSION_MAJOR
|
||||
require += info_version[argc];
|
||||
#endif
|
||||
#ifdef COMPILER_VERSION_INTERNAL
|
||||
require += info_version_internal[argc];
|
||||
#endif
|
||||
#ifdef SIMULATE_ID
|
||||
require += info_simulate[argc];
|
||||
#endif
|
||||
#ifdef SIMULATE_VERSION_MAJOR
|
||||
require += info_simulate_version[argc];
|
||||
#endif
|
||||
#if defined(__CRAYXT_COMPUTE_LINUX_TARGET)
|
||||
require += info_cray[argc];
|
||||
#endif
|
||||
require += info_language_standard_default[argc];
|
||||
require += info_language_extensions_default[argc];
|
||||
(void)argv;
|
||||
return require;
|
||||
}
|
||||
#endif
|
BIN
examples/sycl/CMakeFiles/3.22.1/CompilerIdC/a.out
Executable file
BIN
examples/sycl/CMakeFiles/3.22.1/CompilerIdC/a.out
Executable file
Binary file not shown.
|
@ -0,0 +1,791 @@
|
|||
/* This source file must have a .cpp extension so that all C++ compilers
|
||||
recognize the extension without flags. Borland does not know .cxx for
|
||||
example. */
|
||||
#ifndef __cplusplus
|
||||
# error "A C compiler has been selected for C++."
|
||||
#endif
|
||||
|
||||
#if !defined(__has_include)
|
||||
/* If the compiler does not have __has_include, pretend the answer is
|
||||
always no. */
|
||||
# define __has_include(x) 0
|
||||
#endif
|
||||
|
||||
|
||||
/* Version number components: V=Version, R=Revision, P=Patch
|
||||
Version date components: YYYY=Year, MM=Month, DD=Day */
|
||||
|
||||
#if defined(__COMO__)
|
||||
# define COMPILER_ID "Comeau"
|
||||
/* __COMO_VERSION__ = VRR */
|
||||
# define COMPILER_VERSION_MAJOR DEC(__COMO_VERSION__ / 100)
|
||||
# define COMPILER_VERSION_MINOR DEC(__COMO_VERSION__ % 100)
|
||||
|
||||
#elif defined(__INTEL_COMPILER) || defined(__ICC)
|
||||
# define COMPILER_ID "Intel"
|
||||
# if defined(_MSC_VER)
|
||||
# define SIMULATE_ID "MSVC"
|
||||
# endif
|
||||
# if defined(__GNUC__)
|
||||
# define SIMULATE_ID "GNU"
|
||||
# endif
|
||||
/* __INTEL_COMPILER = VRP prior to 2021, and then VVVV for 2021 and later,
|
||||
except that a few beta releases use the old format with V=2021. */
|
||||
# if __INTEL_COMPILER < 2021 || __INTEL_COMPILER == 202110 || __INTEL_COMPILER == 202111
|
||||
# define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER/100)
|
||||
# define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER/10 % 10)
|
||||
# if defined(__INTEL_COMPILER_UPDATE)
|
||||
# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER_UPDATE)
|
||||
# else
|
||||
# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER % 10)
|
||||
# endif
|
||||
# else
|
||||
# define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER)
|
||||
# define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER_UPDATE)
|
||||
/* The third version component from --version is an update index,
|
||||
but no macro is provided for it. */
|
||||
# define COMPILER_VERSION_PATCH DEC(0)
|
||||
# endif
|
||||
# if defined(__INTEL_COMPILER_BUILD_DATE)
|
||||
/* __INTEL_COMPILER_BUILD_DATE = YYYYMMDD */
|
||||
# define COMPILER_VERSION_TWEAK DEC(__INTEL_COMPILER_BUILD_DATE)
|
||||
# endif
|
||||
# if defined(_MSC_VER)
|
||||
/* _MSC_VER = VVRR */
|
||||
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
|
||||
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
|
||||
# endif
|
||||
# if defined(__GNUC__)
|
||||
# define SIMULATE_VERSION_MAJOR DEC(__GNUC__)
|
||||
# elif defined(__GNUG__)
|
||||
# define SIMULATE_VERSION_MAJOR DEC(__GNUG__)
|
||||
# endif
|
||||
# if defined(__GNUC_MINOR__)
|
||||
# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__)
|
||||
# endif
|
||||
# if defined(__GNUC_PATCHLEVEL__)
|
||||
# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
|
||||
# endif
|
||||
|
||||
#elif (defined(__clang__) && defined(__INTEL_CLANG_COMPILER)) || defined(__INTEL_LLVM_COMPILER)
|
||||
# define COMPILER_ID "IntelLLVM"
|
||||
#if defined(_MSC_VER)
|
||||
# define SIMULATE_ID "MSVC"
|
||||
#endif
|
||||
#if defined(__GNUC__)
|
||||
# define SIMULATE_ID "GNU"
|
||||
#endif
|
||||
/* __INTEL_LLVM_COMPILER = VVVVRP prior to 2021.2.0, VVVVRRPP for 2021.2.0 and
|
||||
* later. Look for 6 digit vs. 8 digit version number to decide encoding.
|
||||
* VVVV is no smaller than the current year when a version is released.
|
||||
*/
|
||||
#if __INTEL_LLVM_COMPILER < 1000000L
|
||||
# define COMPILER_VERSION_MAJOR DEC(__INTEL_LLVM_COMPILER/100)
|
||||
# define COMPILER_VERSION_MINOR DEC(__INTEL_LLVM_COMPILER/10 % 10)
|
||||
# define COMPILER_VERSION_PATCH DEC(__INTEL_LLVM_COMPILER % 10)
|
||||
#else
|
||||
# define COMPILER_VERSION_MAJOR DEC(__INTEL_LLVM_COMPILER/10000)
|
||||
# define COMPILER_VERSION_MINOR DEC(__INTEL_LLVM_COMPILER/100 % 100)
|
||||
# define COMPILER_VERSION_PATCH DEC(__INTEL_LLVM_COMPILER % 100)
|
||||
#endif
|
||||
#if defined(_MSC_VER)
|
||||
/* _MSC_VER = VVRR */
|
||||
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
|
||||
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
|
||||
#endif
|
||||
#if defined(__GNUC__)
|
||||
# define SIMULATE_VERSION_MAJOR DEC(__GNUC__)
|
||||
#elif defined(__GNUG__)
|
||||
# define SIMULATE_VERSION_MAJOR DEC(__GNUG__)
|
||||
#endif
|
||||
#if defined(__GNUC_MINOR__)
|
||||
# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__)
|
||||
#endif
|
||||
#if defined(__GNUC_PATCHLEVEL__)
|
||||
# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
|
||||
#endif
|
||||
|
||||
#elif defined(__PATHCC__)
|
||||
# define COMPILER_ID "PathScale"
|
||||
# define COMPILER_VERSION_MAJOR DEC(__PATHCC__)
|
||||
# define COMPILER_VERSION_MINOR DEC(__PATHCC_MINOR__)
|
||||
# if defined(__PATHCC_PATCHLEVEL__)
|
||||
# define COMPILER_VERSION_PATCH DEC(__PATHCC_PATCHLEVEL__)
|
||||
# endif
|
||||
|
||||
#elif defined(__BORLANDC__) && defined(__CODEGEARC_VERSION__)
|
||||
# define COMPILER_ID "Embarcadero"
|
||||
# define COMPILER_VERSION_MAJOR HEX(__CODEGEARC_VERSION__>>24 & 0x00FF)
|
||||
# define COMPILER_VERSION_MINOR HEX(__CODEGEARC_VERSION__>>16 & 0x00FF)
|
||||
# define COMPILER_VERSION_PATCH DEC(__CODEGEARC_VERSION__ & 0xFFFF)
|
||||
|
||||
#elif defined(__BORLANDC__)
|
||||
# define COMPILER_ID "Borland"
|
||||
/* __BORLANDC__ = 0xVRR */
|
||||
# define COMPILER_VERSION_MAJOR HEX(__BORLANDC__>>8)
|
||||
# define COMPILER_VERSION_MINOR HEX(__BORLANDC__ & 0xFF)
|
||||
|
||||
#elif defined(__WATCOMC__) && __WATCOMC__ < 1200
|
||||
# define COMPILER_ID "Watcom"
|
||||
/* __WATCOMC__ = VVRR */
|
||||
# define COMPILER_VERSION_MAJOR DEC(__WATCOMC__ / 100)
|
||||
# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10)
|
||||
# if (__WATCOMC__ % 10) > 0
|
||||
# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10)
|
||||
# endif
|
||||
|
||||
#elif defined(__WATCOMC__)
|
||||
# define COMPILER_ID "OpenWatcom"
|
||||
/* __WATCOMC__ = VVRP + 1100 */
|
||||
# define COMPILER_VERSION_MAJOR DEC((__WATCOMC__ - 1100) / 100)
|
||||
# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10)
|
||||
# if (__WATCOMC__ % 10) > 0
|
||||
# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10)
|
||||
# endif
|
||||
|
||||
#elif defined(__SUNPRO_CC)
|
||||
# define COMPILER_ID "SunPro"
|
||||
# if __SUNPRO_CC >= 0x5100
|
||||
/* __SUNPRO_CC = 0xVRRP */
|
||||
# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_CC>>12)
|
||||
# define COMPILER_VERSION_MINOR HEX(__SUNPRO_CC>>4 & 0xFF)
|
||||
# define COMPILER_VERSION_PATCH HEX(__SUNPRO_CC & 0xF)
|
||||
# else
|
||||
/* __SUNPRO_CC = 0xVRP */
|
||||
# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_CC>>8)
|
||||
# define COMPILER_VERSION_MINOR HEX(__SUNPRO_CC>>4 & 0xF)
|
||||
# define COMPILER_VERSION_PATCH HEX(__SUNPRO_CC & 0xF)
|
||||
# endif
|
||||
|
||||
#elif defined(__HP_aCC)
|
||||
# define COMPILER_ID "HP"
|
||||
/* __HP_aCC = VVRRPP */
|
||||
# define COMPILER_VERSION_MAJOR DEC(__HP_aCC/10000)
|
||||
# define COMPILER_VERSION_MINOR DEC(__HP_aCC/100 % 100)
|
||||
# define COMPILER_VERSION_PATCH DEC(__HP_aCC % 100)
|
||||
|
||||
#elif defined(__DECCXX)
|
||||
# define COMPILER_ID "Compaq"
|
||||
/* __DECCXX_VER = VVRRTPPPP */
|
||||
# define COMPILER_VERSION_MAJOR DEC(__DECCXX_VER/10000000)
|
||||
# define COMPILER_VERSION_MINOR DEC(__DECCXX_VER/100000 % 100)
|
||||
# define COMPILER_VERSION_PATCH DEC(__DECCXX_VER % 10000)
|
||||
|
||||
#elif defined(__IBMCPP__) && defined(__COMPILER_VER__)
|
||||
# define COMPILER_ID "zOS"
|
||||
/* __IBMCPP__ = VRP */
|
||||
# define COMPILER_VERSION_MAJOR DEC(__IBMCPP__/100)
|
||||
# define COMPILER_VERSION_MINOR DEC(__IBMCPP__/10 % 10)
|
||||
# define COMPILER_VERSION_PATCH DEC(__IBMCPP__ % 10)
|
||||
|
||||
#elif defined(__ibmxl__) && defined(__clang__)
|
||||
# define COMPILER_ID "XLClang"
|
||||
# define COMPILER_VERSION_MAJOR DEC(__ibmxl_version__)
|
||||
# define COMPILER_VERSION_MINOR DEC(__ibmxl_release__)
|
||||
# define COMPILER_VERSION_PATCH DEC(__ibmxl_modification__)
|
||||
# define COMPILER_VERSION_TWEAK DEC(__ibmxl_ptf_fix_level__)
|
||||
|
||||
|
||||
#elif defined(__IBMCPP__) && !defined(__COMPILER_VER__) && __IBMCPP__ >= 800
|
||||
# define COMPILER_ID "XL"
|
||||
/* __IBMCPP__ = VRP */
|
||||
# define COMPILER_VERSION_MAJOR DEC(__IBMCPP__/100)
|
||||
# define COMPILER_VERSION_MINOR DEC(__IBMCPP__/10 % 10)
|
||||
# define COMPILER_VERSION_PATCH DEC(__IBMCPP__ % 10)
|
||||
|
||||
#elif defined(__IBMCPP__) && !defined(__COMPILER_VER__) && __IBMCPP__ < 800
|
||||
# define COMPILER_ID "VisualAge"
|
||||
/* __IBMCPP__ = VRP */
|
||||
# define COMPILER_VERSION_MAJOR DEC(__IBMCPP__/100)
|
||||
# define COMPILER_VERSION_MINOR DEC(__IBMCPP__/10 % 10)
|
||||
# define COMPILER_VERSION_PATCH DEC(__IBMCPP__ % 10)
|
||||
|
||||
#elif defined(__NVCOMPILER)
|
||||
# define COMPILER_ID "NVHPC"
|
||||
# define COMPILER_VERSION_MAJOR DEC(__NVCOMPILER_MAJOR__)
|
||||
# define COMPILER_VERSION_MINOR DEC(__NVCOMPILER_MINOR__)
|
||||
# if defined(__NVCOMPILER_PATCHLEVEL__)
|
||||
# define COMPILER_VERSION_PATCH DEC(__NVCOMPILER_PATCHLEVEL__)
|
||||
# endif
|
||||
|
||||
#elif defined(__PGI)
|
||||
# define COMPILER_ID "PGI"
|
||||
# define COMPILER_VERSION_MAJOR DEC(__PGIC__)
|
||||
# define COMPILER_VERSION_MINOR DEC(__PGIC_MINOR__)
|
||||
# if defined(__PGIC_PATCHLEVEL__)
|
||||
# define COMPILER_VERSION_PATCH DEC(__PGIC_PATCHLEVEL__)
|
||||
# endif
|
||||
|
||||
#elif defined(_CRAYC)
|
||||
# define COMPILER_ID "Cray"
|
||||
# define COMPILER_VERSION_MAJOR DEC(_RELEASE_MAJOR)
|
||||
# define COMPILER_VERSION_MINOR DEC(_RELEASE_MINOR)
|
||||
|
||||
#elif defined(__TI_COMPILER_VERSION__)
|
||||
# define COMPILER_ID "TI"
|
||||
/* __TI_COMPILER_VERSION__ = VVVRRRPPP */
|
||||
# define COMPILER_VERSION_MAJOR DEC(__TI_COMPILER_VERSION__/1000000)
|
||||
# define COMPILER_VERSION_MINOR DEC(__TI_COMPILER_VERSION__/1000 % 1000)
|
||||
# define COMPILER_VERSION_PATCH DEC(__TI_COMPILER_VERSION__ % 1000)
|
||||
|
||||
#elif defined(__CLANG_FUJITSU)
|
||||
# define COMPILER_ID "FujitsuClang"
|
||||
# define COMPILER_VERSION_MAJOR DEC(__FCC_major__)
|
||||
# define COMPILER_VERSION_MINOR DEC(__FCC_minor__)
|
||||
# define COMPILER_VERSION_PATCH DEC(__FCC_patchlevel__)
|
||||
# define COMPILER_VERSION_INTERNAL_STR __clang_version__
|
||||
|
||||
|
||||
#elif defined(__FUJITSU)
|
||||
# define COMPILER_ID "Fujitsu"
|
||||
# if defined(__FCC_version__)
|
||||
# define COMPILER_VERSION __FCC_version__
|
||||
# elif defined(__FCC_major__)
|
||||
# define COMPILER_VERSION_MAJOR DEC(__FCC_major__)
|
||||
# define COMPILER_VERSION_MINOR DEC(__FCC_minor__)
|
||||
# define COMPILER_VERSION_PATCH DEC(__FCC_patchlevel__)
|
||||
# endif
|
||||
# if defined(__fcc_version)
|
||||
# define COMPILER_VERSION_INTERNAL DEC(__fcc_version)
|
||||
# elif defined(__FCC_VERSION)
|
||||
# define COMPILER_VERSION_INTERNAL DEC(__FCC_VERSION)
|
||||
# endif
|
||||
|
||||
|
||||
#elif defined(__ghs__)
|
||||
# define COMPILER_ID "GHS"
|
||||
/* __GHS_VERSION_NUMBER = VVVVRP */
|
||||
# ifdef __GHS_VERSION_NUMBER
|
||||
# define COMPILER_VERSION_MAJOR DEC(__GHS_VERSION_NUMBER / 100)
|
||||
# define COMPILER_VERSION_MINOR DEC(__GHS_VERSION_NUMBER / 10 % 10)
|
||||
# define COMPILER_VERSION_PATCH DEC(__GHS_VERSION_NUMBER % 10)
|
||||
# endif
|
||||
|
||||
#elif defined(__SCO_VERSION__)
|
||||
# define COMPILER_ID "SCO"
|
||||
|
||||
#elif defined(__ARMCC_VERSION) && !defined(__clang__)
|
||||
# define COMPILER_ID "ARMCC"
|
||||
#if __ARMCC_VERSION >= 1000000
|
||||
/* __ARMCC_VERSION = VRRPPPP */
|
||||
# define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/1000000)
|
||||
# define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 100)
|
||||
# define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000)
|
||||
#else
|
||||
/* __ARMCC_VERSION = VRPPPP */
|
||||
# define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/100000)
|
||||
# define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 10)
|
||||
# define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000)
|
||||
#endif
|
||||
|
||||
|
||||
#elif defined(__clang__) && defined(__apple_build_version__)
|
||||
# define COMPILER_ID "AppleClang"
|
||||
# if defined(_MSC_VER)
|
||||
# define SIMULATE_ID "MSVC"
|
||||
# endif
|
||||
# define COMPILER_VERSION_MAJOR DEC(__clang_major__)
|
||||
# define COMPILER_VERSION_MINOR DEC(__clang_minor__)
|
||||
# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__)
|
||||
# if defined(_MSC_VER)
|
||||
/* _MSC_VER = VVRR */
|
||||
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
|
||||
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
|
||||
# endif
|
||||
# define COMPILER_VERSION_TWEAK DEC(__apple_build_version__)
|
||||
|
||||
#elif defined(__clang__) && defined(__ARMCOMPILER_VERSION)
|
||||
# define COMPILER_ID "ARMClang"
|
||||
# define COMPILER_VERSION_MAJOR DEC(__ARMCOMPILER_VERSION/1000000)
|
||||
# define COMPILER_VERSION_MINOR DEC(__ARMCOMPILER_VERSION/10000 % 100)
|
||||
# define COMPILER_VERSION_PATCH DEC(__ARMCOMPILER_VERSION % 10000)
|
||||
# define COMPILER_VERSION_INTERNAL DEC(__ARMCOMPILER_VERSION)
|
||||
|
||||
#elif defined(__clang__)
|
||||
# define COMPILER_ID "Clang"
|
||||
# if defined(_MSC_VER)
|
||||
# define SIMULATE_ID "MSVC"
|
||||
# endif
|
||||
# define COMPILER_VERSION_MAJOR DEC(__clang_major__)
|
||||
# define COMPILER_VERSION_MINOR DEC(__clang_minor__)
|
||||
# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__)
|
||||
# if defined(_MSC_VER)
|
||||
/* _MSC_VER = VVRR */
|
||||
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
|
||||
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
|
||||
# endif
|
||||
|
||||
#elif defined(__GNUC__) || defined(__GNUG__)
|
||||
# define COMPILER_ID "GNU"
|
||||
# if defined(__GNUC__)
|
||||
# define COMPILER_VERSION_MAJOR DEC(__GNUC__)
|
||||
# else
|
||||
# define COMPILER_VERSION_MAJOR DEC(__GNUG__)
|
||||
# endif
|
||||
# if defined(__GNUC_MINOR__)
|
||||
# define COMPILER_VERSION_MINOR DEC(__GNUC_MINOR__)
|
||||
# endif
|
||||
# if defined(__GNUC_PATCHLEVEL__)
|
||||
# define COMPILER_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
|
||||
# endif
|
||||
|
||||
#elif defined(_MSC_VER)
|
||||
# define COMPILER_ID "MSVC"
|
||||
/* _MSC_VER = VVRR */
|
||||
# define COMPILER_VERSION_MAJOR DEC(_MSC_VER / 100)
|
||||
# define COMPILER_VERSION_MINOR DEC(_MSC_VER % 100)
|
||||
# if defined(_MSC_FULL_VER)
|
||||
# if _MSC_VER >= 1400
|
||||
/* _MSC_FULL_VER = VVRRPPPPP */
|
||||
# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 100000)
|
||||
# else
|
||||
/* _MSC_FULL_VER = VVRRPPPP */
|
||||
# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 10000)
|
||||
# endif
|
||||
# endif
|
||||
# if defined(_MSC_BUILD)
|
||||
# define COMPILER_VERSION_TWEAK DEC(_MSC_BUILD)
|
||||
# endif
|
||||
|
||||
#elif defined(__VISUALDSPVERSION__) || defined(__ADSPBLACKFIN__) || defined(__ADSPTS__) || defined(__ADSP21000__)
|
||||
# define COMPILER_ID "ADSP"
|
||||
#if defined(__VISUALDSPVERSION__)
|
||||
/* __VISUALDSPVERSION__ = 0xVVRRPP00 */
|
||||
# define COMPILER_VERSION_MAJOR HEX(__VISUALDSPVERSION__>>24)
|
||||
# define COMPILER_VERSION_MINOR HEX(__VISUALDSPVERSION__>>16 & 0xFF)
|
||||
# define COMPILER_VERSION_PATCH HEX(__VISUALDSPVERSION__>>8 & 0xFF)
|
||||
#endif
|
||||
|
||||
#elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC)
|
||||
# define COMPILER_ID "IAR"
|
||||
# if defined(__VER__) && defined(__ICCARM__)
|
||||
# define COMPILER_VERSION_MAJOR DEC((__VER__) / 1000000)
|
||||
# define COMPILER_VERSION_MINOR DEC(((__VER__) / 1000) % 1000)
|
||||
# define COMPILER_VERSION_PATCH DEC((__VER__) % 1000)
|
||||
# define COMPILER_VERSION_INTERNAL DEC(__IAR_SYSTEMS_ICC__)
|
||||
# elif defined(__VER__) && (defined(__ICCAVR__) || defined(__ICCRX__) || defined(__ICCRH850__) || defined(__ICCRL78__) || defined(__ICC430__) || defined(__ICCRISCV__) || defined(__ICCV850__) || defined(__ICC8051__) || defined(__ICCSTM8__))
|
||||
# define COMPILER_VERSION_MAJOR DEC((__VER__) / 100)
|
||||
# define COMPILER_VERSION_MINOR DEC((__VER__) - (((__VER__) / 100)*100))
|
||||
# define COMPILER_VERSION_PATCH DEC(__SUBVERSION__)
|
||||
# define COMPILER_VERSION_INTERNAL DEC(__IAR_SYSTEMS_ICC__)
|
||||
# endif
|
||||
|
||||
|
||||
/* These compilers are either not known or too old to define an
|
||||
identification macro. Try to identify the platform and guess that
|
||||
it is the native compiler. */
|
||||
#elif defined(__hpux) || defined(__hpua)
|
||||
# define COMPILER_ID "HP"
|
||||
|
||||
#else /* unknown compiler */
|
||||
# define COMPILER_ID ""
|
||||
#endif
|
||||
|
||||
/* Construct the string literal in pieces to prevent the source from
|
||||
getting matched. Store it in a pointer rather than an array
|
||||
because some compilers will just produce instructions to fill the
|
||||
array rather than assigning a pointer to a static array. */
|
||||
char const* info_compiler = "INFO" ":" "compiler[" COMPILER_ID "]";
|
||||
#ifdef SIMULATE_ID
|
||||
char const* info_simulate = "INFO" ":" "simulate[" SIMULATE_ID "]";
|
||||
#endif
|
||||
|
||||
#ifdef __QNXNTO__
|
||||
char const* qnxnto = "INFO" ":" "qnxnto[]";
|
||||
#endif
|
||||
|
||||
#if defined(__CRAYXT_COMPUTE_LINUX_TARGET)
|
||||
char const *info_cray = "INFO" ":" "compiler_wrapper[CrayPrgEnv]";
|
||||
#endif
|
||||
|
||||
#define STRINGIFY_HELPER(X) #X
|
||||
#define STRINGIFY(X) STRINGIFY_HELPER(X)
|
||||
|
||||
/* Identify known platforms by name. */
|
||||
#if defined(__linux) || defined(__linux__) || defined(linux)
|
||||
# define PLATFORM_ID "Linux"
|
||||
|
||||
#elif defined(__MSYS__)
|
||||
# define PLATFORM_ID "MSYS"
|
||||
|
||||
#elif defined(__CYGWIN__)
|
||||
# define PLATFORM_ID "Cygwin"
|
||||
|
||||
#elif defined(__MINGW32__)
|
||||
# define PLATFORM_ID "MinGW"
|
||||
|
||||
#elif defined(__APPLE__)
|
||||
# define PLATFORM_ID "Darwin"
|
||||
|
||||
#elif defined(_WIN32) || defined(__WIN32__) || defined(WIN32)
|
||||
# define PLATFORM_ID "Windows"
|
||||
|
||||
#elif defined(__FreeBSD__) || defined(__FreeBSD)
|
||||
# define PLATFORM_ID "FreeBSD"
|
||||
|
||||
#elif defined(__NetBSD__) || defined(__NetBSD)
|
||||
# define PLATFORM_ID "NetBSD"
|
||||
|
||||
#elif defined(__OpenBSD__) || defined(__OPENBSD)
|
||||
# define PLATFORM_ID "OpenBSD"
|
||||
|
||||
#elif defined(__sun) || defined(sun)
|
||||
# define PLATFORM_ID "SunOS"
|
||||
|
||||
#elif defined(_AIX) || defined(__AIX) || defined(__AIX__) || defined(__aix) || defined(__aix__)
|
||||
# define PLATFORM_ID "AIX"
|
||||
|
||||
#elif defined(__hpux) || defined(__hpux__)
|
||||
# define PLATFORM_ID "HP-UX"
|
||||
|
||||
#elif defined(__HAIKU__)
|
||||
# define PLATFORM_ID "Haiku"
|
||||
|
||||
#elif defined(__BeOS) || defined(__BEOS__) || defined(_BEOS)
|
||||
# define PLATFORM_ID "BeOS"
|
||||
|
||||
#elif defined(__QNX__) || defined(__QNXNTO__)
|
||||
# define PLATFORM_ID "QNX"
|
||||
|
||||
#elif defined(__tru64) || defined(_tru64) || defined(__TRU64__)
|
||||
# define PLATFORM_ID "Tru64"
|
||||
|
||||
#elif defined(__riscos) || defined(__riscos__)
|
||||
# define PLATFORM_ID "RISCos"
|
||||
|
||||
#elif defined(__sinix) || defined(__sinix__) || defined(__SINIX__)
|
||||
# define PLATFORM_ID "SINIX"
|
||||
|
||||
#elif defined(__UNIX_SV__)
|
||||
# define PLATFORM_ID "UNIX_SV"
|
||||
|
||||
#elif defined(__bsdos__)
|
||||
# define PLATFORM_ID "BSDOS"
|
||||
|
||||
#elif defined(_MPRAS) || defined(MPRAS)
|
||||
# define PLATFORM_ID "MP-RAS"
|
||||
|
||||
#elif defined(__osf) || defined(__osf__)
|
||||
# define PLATFORM_ID "OSF1"
|
||||
|
||||
#elif defined(_SCO_SV) || defined(SCO_SV) || defined(sco_sv)
|
||||
# define PLATFORM_ID "SCO_SV"
|
||||
|
||||
#elif defined(__ultrix) || defined(__ultrix__) || defined(_ULTRIX)
|
||||
# define PLATFORM_ID "ULTRIX"
|
||||
|
||||
#elif defined(__XENIX__) || defined(_XENIX) || defined(XENIX)
|
||||
# define PLATFORM_ID "Xenix"
|
||||
|
||||
#elif defined(__WATCOMC__)
|
||||
# if defined(__LINUX__)
|
||||
# define PLATFORM_ID "Linux"
|
||||
|
||||
# elif defined(__DOS__)
|
||||
# define PLATFORM_ID "DOS"
|
||||
|
||||
# elif defined(__OS2__)
|
||||
# define PLATFORM_ID "OS2"
|
||||
|
||||
# elif defined(__WINDOWS__)
|
||||
# define PLATFORM_ID "Windows3x"
|
||||
|
||||
# elif defined(__VXWORKS__)
|
||||
# define PLATFORM_ID "VxWorks"
|
||||
|
||||
# else /* unknown platform */
|
||||
# define PLATFORM_ID
|
||||
# endif
|
||||
|
||||
#elif defined(__INTEGRITY)
|
||||
# if defined(INT_178B)
|
||||
# define PLATFORM_ID "Integrity178"
|
||||
|
||||
# else /* regular Integrity */
|
||||
# define PLATFORM_ID "Integrity"
|
||||
# endif
|
||||
|
||||
#else /* unknown platform */
|
||||
# define PLATFORM_ID
|
||||
|
||||
#endif
|
||||
|
||||
/* For windows compilers MSVC and Intel we can determine
|
||||
the architecture of the compiler being used. This is because
|
||||
the compilers do not have flags that can change the architecture,
|
||||
but rather depend on which compiler is being used
|
||||
*/
|
||||
#if defined(_WIN32) && defined(_MSC_VER)
|
||||
# if defined(_M_IA64)
|
||||
# define ARCHITECTURE_ID "IA64"
|
||||
|
||||
# elif defined(_M_ARM64EC)
|
||||
# define ARCHITECTURE_ID "ARM64EC"
|
||||
|
||||
# elif defined(_M_X64) || defined(_M_AMD64)
|
||||
# define ARCHITECTURE_ID "x64"
|
||||
|
||||
# elif defined(_M_IX86)
|
||||
# define ARCHITECTURE_ID "X86"
|
||||
|
||||
# elif defined(_M_ARM64)
|
||||
# define ARCHITECTURE_ID "ARM64"
|
||||
|
||||
# elif defined(_M_ARM)
|
||||
# if _M_ARM == 4
|
||||
# define ARCHITECTURE_ID "ARMV4I"
|
||||
# elif _M_ARM == 5
|
||||
# define ARCHITECTURE_ID "ARMV5I"
|
||||
# else
|
||||
# define ARCHITECTURE_ID "ARMV" STRINGIFY(_M_ARM)
|
||||
# endif
|
||||
|
||||
# elif defined(_M_MIPS)
|
||||
# define ARCHITECTURE_ID "MIPS"
|
||||
|
||||
# elif defined(_M_SH)
|
||||
# define ARCHITECTURE_ID "SHx"
|
||||
|
||||
# else /* unknown architecture */
|
||||
# define ARCHITECTURE_ID ""
|
||||
# endif
|
||||
|
||||
#elif defined(__WATCOMC__)
|
||||
# if defined(_M_I86)
|
||||
# define ARCHITECTURE_ID "I86"
|
||||
|
||||
# elif defined(_M_IX86)
|
||||
# define ARCHITECTURE_ID "X86"
|
||||
|
||||
# else /* unknown architecture */
|
||||
# define ARCHITECTURE_ID ""
|
||||
# endif
|
||||
|
||||
#elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC)
|
||||
# if defined(__ICCARM__)
|
||||
# define ARCHITECTURE_ID "ARM"
|
||||
|
||||
# elif defined(__ICCRX__)
|
||||
# define ARCHITECTURE_ID "RX"
|
||||
|
||||
# elif defined(__ICCRH850__)
|
||||
# define ARCHITECTURE_ID "RH850"
|
||||
|
||||
# elif defined(__ICCRL78__)
|
||||
# define ARCHITECTURE_ID "RL78"
|
||||
|
||||
# elif defined(__ICCRISCV__)
|
||||
# define ARCHITECTURE_ID "RISCV"
|
||||
|
||||
# elif defined(__ICCAVR__)
|
||||
# define ARCHITECTURE_ID "AVR"
|
||||
|
||||
# elif defined(__ICC430__)
|
||||
# define ARCHITECTURE_ID "MSP430"
|
||||
|
||||
# elif defined(__ICCV850__)
|
||||
# define ARCHITECTURE_ID "V850"
|
||||
|
||||
# elif defined(__ICC8051__)
|
||||
# define ARCHITECTURE_ID "8051"
|
||||
|
||||
# elif defined(__ICCSTM8__)
|
||||
# define ARCHITECTURE_ID "STM8"
|
||||
|
||||
# else /* unknown architecture */
|
||||
# define ARCHITECTURE_ID ""
|
||||
# endif
|
||||
|
||||
#elif defined(__ghs__)
|
||||
# if defined(__PPC64__)
|
||||
# define ARCHITECTURE_ID "PPC64"
|
||||
|
||||
# elif defined(__ppc__)
|
||||
# define ARCHITECTURE_ID "PPC"
|
||||
|
||||
# elif defined(__ARM__)
|
||||
# define ARCHITECTURE_ID "ARM"
|
||||
|
||||
# elif defined(__x86_64__)
|
||||
# define ARCHITECTURE_ID "x64"
|
||||
|
||||
# elif defined(__i386__)
|
||||
# define ARCHITECTURE_ID "X86"
|
||||
|
||||
# else /* unknown architecture */
|
||||
# define ARCHITECTURE_ID ""
|
||||
# endif
|
||||
|
||||
#elif defined(__TI_COMPILER_VERSION__)
|
||||
# if defined(__TI_ARM__)
|
||||
# define ARCHITECTURE_ID "ARM"
|
||||
|
||||
# elif defined(__MSP430__)
|
||||
# define ARCHITECTURE_ID "MSP430"
|
||||
|
||||
# elif defined(__TMS320C28XX__)
|
||||
# define ARCHITECTURE_ID "TMS320C28x"
|
||||
|
||||
# elif defined(__TMS320C6X__) || defined(_TMS320C6X)
|
||||
# define ARCHITECTURE_ID "TMS320C6x"
|
||||
|
||||
# else /* unknown architecture */
|
||||
# define ARCHITECTURE_ID ""
|
||||
# endif
|
||||
|
||||
#else
|
||||
# define ARCHITECTURE_ID
|
||||
#endif
|
||||
|
||||
/* Convert integer to decimal digit literals. */
|
||||
#define DEC(n) \
|
||||
('0' + (((n) / 10000000)%10)), \
|
||||
('0' + (((n) / 1000000)%10)), \
|
||||
('0' + (((n) / 100000)%10)), \
|
||||
('0' + (((n) / 10000)%10)), \
|
||||
('0' + (((n) / 1000)%10)), \
|
||||
('0' + (((n) / 100)%10)), \
|
||||
('0' + (((n) / 10)%10)), \
|
||||
('0' + ((n) % 10))
|
||||
|
||||
/* Convert integer to hex digit literals. */
|
||||
#define HEX(n) \
|
||||
('0' + ((n)>>28 & 0xF)), \
|
||||
('0' + ((n)>>24 & 0xF)), \
|
||||
('0' + ((n)>>20 & 0xF)), \
|
||||
('0' + ((n)>>16 & 0xF)), \
|
||||
('0' + ((n)>>12 & 0xF)), \
|
||||
('0' + ((n)>>8 & 0xF)), \
|
||||
('0' + ((n)>>4 & 0xF)), \
|
||||
('0' + ((n) & 0xF))
|
||||
|
||||
/* Construct a string literal encoding the version number. */
|
||||
#ifdef COMPILER_VERSION
|
||||
char const* info_version = "INFO" ":" "compiler_version[" COMPILER_VERSION "]";
|
||||
|
||||
/* Construct a string literal encoding the version number components. */
|
||||
#elif defined(COMPILER_VERSION_MAJOR)
|
||||
char const info_version[] = {
|
||||
'I', 'N', 'F', 'O', ':',
|
||||
'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','[',
|
||||
COMPILER_VERSION_MAJOR,
|
||||
# ifdef COMPILER_VERSION_MINOR
|
||||
'.', COMPILER_VERSION_MINOR,
|
||||
# ifdef COMPILER_VERSION_PATCH
|
||||
'.', COMPILER_VERSION_PATCH,
|
||||
# ifdef COMPILER_VERSION_TWEAK
|
||||
'.', COMPILER_VERSION_TWEAK,
|
||||
# endif
|
||||
# endif
|
||||
# endif
|
||||
']','\0'};
|
||||
#endif
|
||||
|
||||
/* Construct a string literal encoding the internal version number. */
|
||||
#ifdef COMPILER_VERSION_INTERNAL
|
||||
char const info_version_internal[] = {
|
||||
'I', 'N', 'F', 'O', ':',
|
||||
'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','_',
|
||||
'i','n','t','e','r','n','a','l','[',
|
||||
COMPILER_VERSION_INTERNAL,']','\0'};
|
||||
#elif defined(COMPILER_VERSION_INTERNAL_STR)
|
||||
char const* info_version_internal = "INFO" ":" "compiler_version_internal[" COMPILER_VERSION_INTERNAL_STR "]";
|
||||
#endif
|
||||
|
||||
/* Construct a string literal encoding the version number components. */
|
||||
#ifdef SIMULATE_VERSION_MAJOR
|
||||
char const info_simulate_version[] = {
|
||||
'I', 'N', 'F', 'O', ':',
|
||||
's','i','m','u','l','a','t','e','_','v','e','r','s','i','o','n','[',
|
||||
SIMULATE_VERSION_MAJOR,
|
||||
# ifdef SIMULATE_VERSION_MINOR
|
||||
'.', SIMULATE_VERSION_MINOR,
|
||||
# ifdef SIMULATE_VERSION_PATCH
|
||||
'.', SIMULATE_VERSION_PATCH,
|
||||
# ifdef SIMULATE_VERSION_TWEAK
|
||||
'.', SIMULATE_VERSION_TWEAK,
|
||||
# endif
|
||||
# endif
|
||||
# endif
|
||||
']','\0'};
|
||||
#endif
|
||||
|
||||
/* Construct the string literal in pieces to prevent the source from
|
||||
getting matched. Store it in a pointer rather than an array
|
||||
because some compilers will just produce instructions to fill the
|
||||
array rather than assigning a pointer to a static array. */
|
||||
char const* info_platform = "INFO" ":" "platform[" PLATFORM_ID "]";
|
||||
char const* info_arch = "INFO" ":" "arch[" ARCHITECTURE_ID "]";
|
||||
|
||||
|
||||
|
||||
#if defined(__INTEL_COMPILER) && defined(_MSVC_LANG) && _MSVC_LANG < 201403L
|
||||
# if defined(__INTEL_CXX11_MODE__)
|
||||
# if defined(__cpp_aggregate_nsdmi)
|
||||
# define CXX_STD 201402L
|
||||
# else
|
||||
# define CXX_STD 201103L
|
||||
# endif
|
||||
# else
|
||||
# define CXX_STD 199711L
|
||||
# endif
|
||||
#elif defined(_MSC_VER) && defined(_MSVC_LANG)
|
||||
# define CXX_STD _MSVC_LANG
|
||||
#else
|
||||
# define CXX_STD __cplusplus
|
||||
#endif
|
||||
|
||||
const char* info_language_standard_default = "INFO" ":" "standard_default["
|
||||
#if CXX_STD > 202002L
|
||||
"23"
|
||||
#elif CXX_STD > 201703L
|
||||
"20"
|
||||
#elif CXX_STD >= 201703L
|
||||
"17"
|
||||
#elif CXX_STD >= 201402L
|
||||
"14"
|
||||
#elif CXX_STD >= 201103L
|
||||
"11"
|
||||
#else
|
||||
"98"
|
||||
#endif
|
||||
"]";
|
||||
|
||||
const char* info_language_extensions_default = "INFO" ":" "extensions_default["
|
||||
/* !defined(_MSC_VER) to exclude Clang's MSVC compatibility mode. */
|
||||
#if (defined(__clang__) || defined(__GNUC__) || \
|
||||
defined(__TI_COMPILER_VERSION__)) && \
|
||||
!defined(__STRICT_ANSI__) && !defined(_MSC_VER)
|
||||
"ON"
|
||||
#else
|
||||
"OFF"
|
||||
#endif
|
||||
"]";
|
||||
|
||||
/*--------------------------------------------------------------------------*/
|
||||
|
||||
int main(int argc, char* argv[])
|
||||
{
|
||||
int require = 0;
|
||||
require += info_compiler[argc];
|
||||
require += info_platform[argc];
|
||||
#ifdef COMPILER_VERSION_MAJOR
|
||||
require += info_version[argc];
|
||||
#endif
|
||||
#ifdef COMPILER_VERSION_INTERNAL
|
||||
require += info_version_internal[argc];
|
||||
#endif
|
||||
#ifdef SIMULATE_ID
|
||||
require += info_simulate[argc];
|
||||
#endif
|
||||
#ifdef SIMULATE_VERSION_MAJOR
|
||||
require += info_simulate_version[argc];
|
||||
#endif
|
||||
#if defined(__CRAYXT_COMPUTE_LINUX_TARGET)
|
||||
require += info_cray[argc];
|
||||
#endif
|
||||
require += info_language_standard_default[argc];
|
||||
require += info_language_extensions_default[argc];
|
||||
(void)argv;
|
||||
return require;
|
||||
}
|
BIN
examples/sycl/CMakeFiles/3.22.1/CompilerIdCXX/a.out
Executable file
BIN
examples/sycl/CMakeFiles/3.22.1/CompilerIdCXX/a.out
Executable file
Binary file not shown.
16
examples/sycl/CMakeFiles/CMakeDirectoryInformation.cmake
Normal file
16
examples/sycl/CMakeFiles/CMakeDirectoryInformation.cmake
Normal file
|
@ -0,0 +1,16 @@
|
|||
# CMAKE generated file: DO NOT EDIT!
|
||||
# Generated by "Unix Makefiles" Generator, CMake Version 3.22
|
||||
|
||||
# Relative path conversion top directories.
|
||||
set(CMAKE_RELATIVE_PATH_TOP_SOURCE "/home/jianyuzh/ws/llama.cpp/develop/examples")
|
||||
set(CMAKE_RELATIVE_PATH_TOP_BINARY "/home/jianyuzh/ws/llama.cpp/develop/examples/sycl")
|
||||
|
||||
# Force unix paths in dependencies.
|
||||
set(CMAKE_FORCE_UNIX_PATHS 1)
|
||||
|
||||
|
||||
# The C and CXX include file regular expressions for this directory.
|
||||
set(CMAKE_C_INCLUDE_REGEX_SCAN "^.*$")
|
||||
set(CMAKE_C_INCLUDE_REGEX_COMPLAIN "^$")
|
||||
set(CMAKE_CXX_INCLUDE_REGEX_SCAN ${CMAKE_C_INCLUDE_REGEX_SCAN})
|
||||
set(CMAKE_CXX_INCLUDE_REGEX_COMPLAIN ${CMAKE_C_INCLUDE_REGEX_COMPLAIN})
|
130
examples/sycl/CMakeFiles/Makefile.cmake
Normal file
130
examples/sycl/CMakeFiles/Makefile.cmake
Normal file
|
@ -0,0 +1,130 @@
|
|||
# CMAKE generated file: DO NOT EDIT!
|
||||
# Generated by "Unix Makefiles" Generator, CMake Version 3.22
|
||||
|
||||
# The generator used is:
|
||||
set(CMAKE_DEPENDS_GENERATOR "Unix Makefiles")
|
||||
|
||||
# The top level Makefile was generated from the following files:
|
||||
set(CMAKE_MAKEFILE_DEPENDS
|
||||
"CMakeCache.txt"
|
||||
"../CMakeLists.txt"
|
||||
"../baby-llama/CMakeLists.txt"
|
||||
"../batched-bench/CMakeLists.txt"
|
||||
"../batched/CMakeLists.txt"
|
||||
"../beam-search/CMakeLists.txt"
|
||||
"../benchmark/CMakeLists.txt"
|
||||
"../convert-llama2c-to-ggml/CMakeLists.txt"
|
||||
"../embedding/CMakeLists.txt"
|
||||
"../export-lora/CMakeLists.txt"
|
||||
"../finetune/CMakeLists.txt"
|
||||
"../infill/CMakeLists.txt"
|
||||
"../llama-bench/CMakeLists.txt"
|
||||
"../llava/CMakeLists.txt"
|
||||
"../lookahead/CMakeLists.txt"
|
||||
"../lookup/CMakeLists.txt"
|
||||
"../main/CMakeLists.txt"
|
||||
"../parallel/CMakeLists.txt"
|
||||
"../perplexity/CMakeLists.txt"
|
||||
"../quantize-stats/CMakeLists.txt"
|
||||
"../quantize/CMakeLists.txt"
|
||||
"../save-load-state/CMakeLists.txt"
|
||||
"../simple/CMakeLists.txt"
|
||||
"../speculative/CMakeLists.txt"
|
||||
"CMakeFiles/3.22.1/CMakeCCompiler.cmake"
|
||||
"CMakeFiles/3.22.1/CMakeCXXCompiler.cmake"
|
||||
"CMakeFiles/3.22.1/CMakeSystem.cmake"
|
||||
"CMakeLists.txt"
|
||||
"../tokenize/CMakeLists.txt"
|
||||
"../train-text-from-scratch/CMakeLists.txt"
|
||||
"/usr/share/cmake-3.22/Modules/CMakeCInformation.cmake"
|
||||
"/usr/share/cmake-3.22/Modules/CMakeCXXInformation.cmake"
|
||||
"/usr/share/cmake-3.22/Modules/CMakeCommonLanguageInclude.cmake"
|
||||
"/usr/share/cmake-3.22/Modules/CMakeGenericSystem.cmake"
|
||||
"/usr/share/cmake-3.22/Modules/CMakeInitializeConfigs.cmake"
|
||||
"/usr/share/cmake-3.22/Modules/CMakeLanguageInformation.cmake"
|
||||
"/usr/share/cmake-3.22/Modules/CMakeSystemSpecificInformation.cmake"
|
||||
"/usr/share/cmake-3.22/Modules/CMakeSystemSpecificInitialize.cmake"
|
||||
"/usr/share/cmake-3.22/Modules/CheckCSourceCompiles.cmake"
|
||||
"/usr/share/cmake-3.22/Modules/CheckIncludeFile.cmake"
|
||||
"/usr/share/cmake-3.22/Modules/CheckLibraryExists.cmake"
|
||||
"/usr/share/cmake-3.22/Modules/Compiler/CMakeCommonCompilerMacros.cmake"
|
||||
"/usr/share/cmake-3.22/Modules/Compiler/IntelLLVM-C.cmake"
|
||||
"/usr/share/cmake-3.22/Modules/Compiler/IntelLLVM-CXX.cmake"
|
||||
"/usr/share/cmake-3.22/Modules/Compiler/IntelLLVM.cmake"
|
||||
"/usr/share/cmake-3.22/Modules/FindPackageHandleStandardArgs.cmake"
|
||||
"/usr/share/cmake-3.22/Modules/FindPackageMessage.cmake"
|
||||
"/usr/share/cmake-3.22/Modules/FindThreads.cmake"
|
||||
"/usr/share/cmake-3.22/Modules/Internal/CheckSourceCompiles.cmake"
|
||||
"/usr/share/cmake-3.22/Modules/Platform/Linux-IntelLLVM-C.cmake"
|
||||
"/usr/share/cmake-3.22/Modules/Platform/Linux-IntelLLVM-CXX.cmake"
|
||||
"/usr/share/cmake-3.22/Modules/Platform/Linux-IntelLLVM.cmake"
|
||||
"/usr/share/cmake-3.22/Modules/Platform/Linux.cmake"
|
||||
"/usr/share/cmake-3.22/Modules/Platform/UnixPaths.cmake"
|
||||
)
|
||||
|
||||
# The corresponding makefile is:
|
||||
set(CMAKE_MAKEFILE_OUTPUTS
|
||||
"Makefile"
|
||||
"CMakeFiles/cmake.check_cache"
|
||||
)
|
||||
|
||||
# Byproducts of CMake generate step:
|
||||
set(CMAKE_MAKEFILE_PRODUCTS
|
||||
"CMakeFiles/CMakeDirectoryInformation.cmake"
|
||||
"baby-llama/CMakeFiles/CMakeDirectoryInformation.cmake"
|
||||
"batched/CMakeFiles/CMakeDirectoryInformation.cmake"
|
||||
"batched-bench/CMakeFiles/CMakeDirectoryInformation.cmake"
|
||||
"beam-search/CMakeFiles/CMakeDirectoryInformation.cmake"
|
||||
"benchmark/CMakeFiles/CMakeDirectoryInformation.cmake"
|
||||
"convert-llama2c-to-ggml/CMakeFiles/CMakeDirectoryInformation.cmake"
|
||||
"embedding/CMakeFiles/CMakeDirectoryInformation.cmake"
|
||||
"finetune/CMakeFiles/CMakeDirectoryInformation.cmake"
|
||||
"infill/CMakeFiles/CMakeDirectoryInformation.cmake"
|
||||
"llama-bench/CMakeFiles/CMakeDirectoryInformation.cmake"
|
||||
"llava/CMakeFiles/CMakeDirectoryInformation.cmake"
|
||||
"sycl/CMakeFiles/CMakeDirectoryInformation.cmake"
|
||||
"main/CMakeFiles/CMakeDirectoryInformation.cmake"
|
||||
"tokenize/CMakeFiles/CMakeDirectoryInformation.cmake"
|
||||
"parallel/CMakeFiles/CMakeDirectoryInformation.cmake"
|
||||
"perplexity/CMakeFiles/CMakeDirectoryInformation.cmake"
|
||||
"quantize/CMakeFiles/CMakeDirectoryInformation.cmake"
|
||||
"quantize-stats/CMakeFiles/CMakeDirectoryInformation.cmake"
|
||||
"save-load-state/CMakeFiles/CMakeDirectoryInformation.cmake"
|
||||
"simple/CMakeFiles/CMakeDirectoryInformation.cmake"
|
||||
"speculative/CMakeFiles/CMakeDirectoryInformation.cmake"
|
||||
"lookahead/CMakeFiles/CMakeDirectoryInformation.cmake"
|
||||
"lookup/CMakeFiles/CMakeDirectoryInformation.cmake"
|
||||
"train-text-from-scratch/CMakeFiles/CMakeDirectoryInformation.cmake"
|
||||
"export-lora/CMakeFiles/CMakeDirectoryInformation.cmake"
|
||||
)
|
||||
|
||||
# Dependency information for all targets:
|
||||
set(CMAKE_DEPEND_INFO_FILES
|
||||
"baby-llama/CMakeFiles/baby-llama.dir/DependInfo.cmake"
|
||||
"batched/CMakeFiles/batched.dir/DependInfo.cmake"
|
||||
"batched-bench/CMakeFiles/batched-bench.dir/DependInfo.cmake"
|
||||
"beam-search/CMakeFiles/beam-search.dir/DependInfo.cmake"
|
||||
"benchmark/CMakeFiles/benchmark.dir/DependInfo.cmake"
|
||||
"convert-llama2c-to-ggml/CMakeFiles/convert-llama2c-to-ggml.dir/DependInfo.cmake"
|
||||
"embedding/CMakeFiles/embedding.dir/DependInfo.cmake"
|
||||
"finetune/CMakeFiles/finetune.dir/DependInfo.cmake"
|
||||
"infill/CMakeFiles/infill.dir/DependInfo.cmake"
|
||||
"llama-bench/CMakeFiles/llama-bench.dir/DependInfo.cmake"
|
||||
"llava/CMakeFiles/llava.dir/DependInfo.cmake"
|
||||
"llava/CMakeFiles/llava_static.dir/DependInfo.cmake"
|
||||
"llava/CMakeFiles/llava-cli.dir/DependInfo.cmake"
|
||||
"sycl/CMakeFiles/ls-sycl-device.dir/DependInfo.cmake"
|
||||
"main/CMakeFiles/main.dir/DependInfo.cmake"
|
||||
"tokenize/CMakeFiles/tokenize.dir/DependInfo.cmake"
|
||||
"parallel/CMakeFiles/parallel.dir/DependInfo.cmake"
|
||||
"perplexity/CMakeFiles/perplexity.dir/DependInfo.cmake"
|
||||
"quantize/CMakeFiles/quantize.dir/DependInfo.cmake"
|
||||
"quantize-stats/CMakeFiles/quantize-stats.dir/DependInfo.cmake"
|
||||
"save-load-state/CMakeFiles/save-load-state.dir/DependInfo.cmake"
|
||||
"simple/CMakeFiles/simple.dir/DependInfo.cmake"
|
||||
"speculative/CMakeFiles/speculative.dir/DependInfo.cmake"
|
||||
"lookahead/CMakeFiles/lookahead.dir/DependInfo.cmake"
|
||||
"lookup/CMakeFiles/lookup.dir/DependInfo.cmake"
|
||||
"train-text-from-scratch/CMakeFiles/train-text-from-scratch.dir/DependInfo.cmake"
|
||||
"export-lora/CMakeFiles/export-lora.dir/DependInfo.cmake"
|
||||
)
|
1239
examples/sycl/CMakeFiles/Makefile2
Normal file
1239
examples/sycl/CMakeFiles/Makefile2
Normal file
File diff suppressed because it is too large
Load diff
1
examples/sycl/CMakeFiles/Progress/1
Normal file
1
examples/sycl/CMakeFiles/Progress/1
Normal file
|
@ -0,0 +1 @@
|
|||
empty
|
1
examples/sycl/CMakeFiles/Progress/count.txt
Normal file
1
examples/sycl/CMakeFiles/Progress/count.txt
Normal file
|
@ -0,0 +1 @@
|
|||
53
|
183
examples/sycl/CMakeFiles/TargetDirectories.txt
Normal file
183
examples/sycl/CMakeFiles/TargetDirectories.txt
Normal file
|
@ -0,0 +1,183 @@
|
|||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/CMakeFiles/edit_cache.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/CMakeFiles/rebuild_cache.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/CMakeFiles/list_install_components.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/CMakeFiles/install.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/CMakeFiles/install/local.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/CMakeFiles/install/strip.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/baby-llama/CMakeFiles/baby-llama.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/baby-llama/CMakeFiles/edit_cache.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/baby-llama/CMakeFiles/rebuild_cache.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/baby-llama/CMakeFiles/list_install_components.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/baby-llama/CMakeFiles/install.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/baby-llama/CMakeFiles/install/local.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/baby-llama/CMakeFiles/install/strip.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/batched/CMakeFiles/batched.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/batched/CMakeFiles/edit_cache.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/batched/CMakeFiles/rebuild_cache.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/batched/CMakeFiles/list_install_components.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/batched/CMakeFiles/install.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/batched/CMakeFiles/install/local.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/batched/CMakeFiles/install/strip.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/batched-bench/CMakeFiles/batched-bench.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/batched-bench/CMakeFiles/edit_cache.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/batched-bench/CMakeFiles/rebuild_cache.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/batched-bench/CMakeFiles/list_install_components.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/batched-bench/CMakeFiles/install.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/batched-bench/CMakeFiles/install/local.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/batched-bench/CMakeFiles/install/strip.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/beam-search/CMakeFiles/beam-search.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/beam-search/CMakeFiles/edit_cache.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/beam-search/CMakeFiles/rebuild_cache.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/beam-search/CMakeFiles/list_install_components.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/beam-search/CMakeFiles/install.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/beam-search/CMakeFiles/install/local.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/beam-search/CMakeFiles/install/strip.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/benchmark/CMakeFiles/benchmark.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/benchmark/CMakeFiles/edit_cache.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/benchmark/CMakeFiles/rebuild_cache.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/benchmark/CMakeFiles/list_install_components.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/benchmark/CMakeFiles/install.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/benchmark/CMakeFiles/install/local.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/benchmark/CMakeFiles/install/strip.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/convert-llama2c-to-ggml/CMakeFiles/convert-llama2c-to-ggml.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/convert-llama2c-to-ggml/CMakeFiles/edit_cache.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/convert-llama2c-to-ggml/CMakeFiles/rebuild_cache.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/convert-llama2c-to-ggml/CMakeFiles/list_install_components.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/convert-llama2c-to-ggml/CMakeFiles/install.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/convert-llama2c-to-ggml/CMakeFiles/install/local.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/convert-llama2c-to-ggml/CMakeFiles/install/strip.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/embedding/CMakeFiles/embedding.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/embedding/CMakeFiles/edit_cache.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/embedding/CMakeFiles/rebuild_cache.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/embedding/CMakeFiles/list_install_components.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/embedding/CMakeFiles/install.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/embedding/CMakeFiles/install/local.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/embedding/CMakeFiles/install/strip.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/finetune/CMakeFiles/finetune.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/finetune/CMakeFiles/edit_cache.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/finetune/CMakeFiles/rebuild_cache.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/finetune/CMakeFiles/list_install_components.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/finetune/CMakeFiles/install.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/finetune/CMakeFiles/install/local.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/finetune/CMakeFiles/install/strip.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/infill/CMakeFiles/infill.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/infill/CMakeFiles/edit_cache.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/infill/CMakeFiles/rebuild_cache.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/infill/CMakeFiles/list_install_components.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/infill/CMakeFiles/install.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/infill/CMakeFiles/install/local.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/infill/CMakeFiles/install/strip.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/llama-bench/CMakeFiles/llama-bench.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/llama-bench/CMakeFiles/edit_cache.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/llama-bench/CMakeFiles/rebuild_cache.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/llama-bench/CMakeFiles/list_install_components.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/llama-bench/CMakeFiles/install.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/llama-bench/CMakeFiles/install/local.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/llama-bench/CMakeFiles/install/strip.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/llava/CMakeFiles/llava.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/llava/CMakeFiles/llava_static.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/llava/CMakeFiles/llava-cli.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/llava/CMakeFiles/edit_cache.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/llava/CMakeFiles/rebuild_cache.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/llava/CMakeFiles/list_install_components.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/llava/CMakeFiles/install.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/llava/CMakeFiles/install/local.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/llava/CMakeFiles/install/strip.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/sycl/CMakeFiles/ls-sycl-device.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/sycl/CMakeFiles/edit_cache.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/sycl/CMakeFiles/rebuild_cache.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/sycl/CMakeFiles/list_install_components.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/sycl/CMakeFiles/install.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/sycl/CMakeFiles/install/local.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/sycl/CMakeFiles/install/strip.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/main/CMakeFiles/main.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/main/CMakeFiles/edit_cache.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/main/CMakeFiles/rebuild_cache.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/main/CMakeFiles/list_install_components.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/main/CMakeFiles/install.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/main/CMakeFiles/install/local.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/main/CMakeFiles/install/strip.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/tokenize/CMakeFiles/tokenize.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/tokenize/CMakeFiles/edit_cache.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/tokenize/CMakeFiles/rebuild_cache.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/tokenize/CMakeFiles/list_install_components.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/tokenize/CMakeFiles/install.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/tokenize/CMakeFiles/install/local.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/tokenize/CMakeFiles/install/strip.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/parallel/CMakeFiles/parallel.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/parallel/CMakeFiles/edit_cache.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/parallel/CMakeFiles/rebuild_cache.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/parallel/CMakeFiles/list_install_components.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/parallel/CMakeFiles/install.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/parallel/CMakeFiles/install/local.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/parallel/CMakeFiles/install/strip.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/perplexity/CMakeFiles/perplexity.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/perplexity/CMakeFiles/edit_cache.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/perplexity/CMakeFiles/rebuild_cache.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/perplexity/CMakeFiles/list_install_components.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/perplexity/CMakeFiles/install.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/perplexity/CMakeFiles/install/local.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/perplexity/CMakeFiles/install/strip.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/quantize/CMakeFiles/quantize.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/quantize/CMakeFiles/edit_cache.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/quantize/CMakeFiles/rebuild_cache.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/quantize/CMakeFiles/list_install_components.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/quantize/CMakeFiles/install.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/quantize/CMakeFiles/install/local.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/quantize/CMakeFiles/install/strip.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/quantize-stats/CMakeFiles/quantize-stats.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/quantize-stats/CMakeFiles/edit_cache.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/quantize-stats/CMakeFiles/rebuild_cache.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/quantize-stats/CMakeFiles/list_install_components.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/quantize-stats/CMakeFiles/install.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/quantize-stats/CMakeFiles/install/local.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/quantize-stats/CMakeFiles/install/strip.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/save-load-state/CMakeFiles/save-load-state.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/save-load-state/CMakeFiles/edit_cache.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/save-load-state/CMakeFiles/rebuild_cache.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/save-load-state/CMakeFiles/list_install_components.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/save-load-state/CMakeFiles/install.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/save-load-state/CMakeFiles/install/local.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/save-load-state/CMakeFiles/install/strip.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/simple/CMakeFiles/simple.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/simple/CMakeFiles/edit_cache.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/simple/CMakeFiles/rebuild_cache.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/simple/CMakeFiles/list_install_components.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/simple/CMakeFiles/install.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/simple/CMakeFiles/install/local.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/simple/CMakeFiles/install/strip.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/speculative/CMakeFiles/speculative.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/speculative/CMakeFiles/edit_cache.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/speculative/CMakeFiles/rebuild_cache.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/speculative/CMakeFiles/list_install_components.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/speculative/CMakeFiles/install.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/speculative/CMakeFiles/install/local.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/speculative/CMakeFiles/install/strip.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/lookahead/CMakeFiles/lookahead.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/lookahead/CMakeFiles/edit_cache.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/lookahead/CMakeFiles/rebuild_cache.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/lookahead/CMakeFiles/list_install_components.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/lookahead/CMakeFiles/install.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/lookahead/CMakeFiles/install/local.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/lookahead/CMakeFiles/install/strip.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/lookup/CMakeFiles/lookup.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/lookup/CMakeFiles/edit_cache.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/lookup/CMakeFiles/rebuild_cache.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/lookup/CMakeFiles/list_install_components.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/lookup/CMakeFiles/install.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/lookup/CMakeFiles/install/local.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/lookup/CMakeFiles/install/strip.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/train-text-from-scratch/CMakeFiles/train-text-from-scratch.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/train-text-from-scratch/CMakeFiles/edit_cache.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/train-text-from-scratch/CMakeFiles/rebuild_cache.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/train-text-from-scratch/CMakeFiles/list_install_components.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/train-text-from-scratch/CMakeFiles/install.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/train-text-from-scratch/CMakeFiles/install/local.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/train-text-from-scratch/CMakeFiles/install/strip.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/export-lora/CMakeFiles/export-lora.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/export-lora/CMakeFiles/edit_cache.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/export-lora/CMakeFiles/rebuild_cache.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/export-lora/CMakeFiles/list_install_components.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/export-lora/CMakeFiles/install.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/export-lora/CMakeFiles/install/local.dir
|
||||
/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/export-lora/CMakeFiles/install/strip.dir
|
1
examples/sycl/CMakeFiles/cmake.check_cache
Normal file
1
examples/sycl/CMakeFiles/cmake.check_cache
Normal file
|
@ -0,0 +1 @@
|
|||
# This file is generated by cmake for dependency checking of the CMakeCache.txt file
|
1
examples/sycl/CMakeFiles/progress.marks
Normal file
1
examples/sycl/CMakeFiles/progress.marks
Normal file
|
@ -0,0 +1 @@
|
|||
53
|
5
examples/sycl/CMakeLists.txt
Normal file
5
examples/sycl/CMakeLists.txt
Normal file
|
@ -0,0 +1,5 @@
|
|||
set(TARGET ls-sycl-device)
|
||||
add_executable(${TARGET} ls-sycl-device.cpp)
|
||||
install(TARGETS ${TARGET} RUNTIME)
|
||||
target_link_libraries(${TARGET} PRIVATE ggml ${CMAKE_THREAD_LIBS_INIT})
|
||||
target_compile_features(${TARGET} PRIVATE cxx_std_17)
|
567
examples/sycl/Makefile
Normal file
567
examples/sycl/Makefile
Normal file
|
@ -0,0 +1,567 @@
|
|||
# CMAKE generated file: DO NOT EDIT!
|
||||
# Generated by "Unix Makefiles" Generator, CMake Version 3.22
|
||||
|
||||
# Default target executed when no arguments are given to make.
|
||||
default_target: all
|
||||
.PHONY : default_target
|
||||
|
||||
# Allow only one "make -f Makefile2" at a time, but pass parallelism.
|
||||
.NOTPARALLEL:
|
||||
|
||||
#=============================================================================
|
||||
# Special targets provided by cmake.
|
||||
|
||||
# Disable implicit rules so canonical targets will work.
|
||||
.SUFFIXES:
|
||||
|
||||
# Disable VCS-based implicit rules.
|
||||
% : %,v
|
||||
|
||||
# Disable VCS-based implicit rules.
|
||||
% : RCS/%
|
||||
|
||||
# Disable VCS-based implicit rules.
|
||||
% : RCS/%,v
|
||||
|
||||
# Disable VCS-based implicit rules.
|
||||
% : SCCS/s.%
|
||||
|
||||
# Disable VCS-based implicit rules.
|
||||
% : s.%
|
||||
|
||||
.SUFFIXES: .hpux_make_needs_suffix_list
|
||||
|
||||
# Command-line flag to silence nested $(MAKE).
|
||||
$(VERBOSE)MAKESILENT = -s
|
||||
|
||||
#Suppress display of executed commands.
|
||||
$(VERBOSE).SILENT:
|
||||
|
||||
# A target that is always out of date.
|
||||
cmake_force:
|
||||
.PHONY : cmake_force
|
||||
|
||||
#=============================================================================
|
||||
# Set environment variables for the build.
|
||||
|
||||
# The shell in which to execute make rules.
|
||||
SHELL = /bin/sh
|
||||
|
||||
# The CMake executable.
|
||||
CMAKE_COMMAND = /usr/bin/cmake
|
||||
|
||||
# The command to remove a file.
|
||||
RM = /usr/bin/cmake -E rm -f
|
||||
|
||||
# Escaping for special characters.
|
||||
EQUALS = =
|
||||
|
||||
# The top-level source directory on which CMake was run.
|
||||
CMAKE_SOURCE_DIR = /home/jianyuzh/ws/llama.cpp/develop/examples
|
||||
|
||||
# The top-level build directory on which CMake was run.
|
||||
CMAKE_BINARY_DIR = /home/jianyuzh/ws/llama.cpp/develop/examples/sycl
|
||||
|
||||
#=============================================================================
|
||||
# Targets provided globally by CMake.
|
||||
|
||||
# Special rule for the target edit_cache
|
||||
edit_cache:
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "No interactive CMake dialog available..."
|
||||
/usr/bin/cmake -E echo No\ interactive\ CMake\ dialog\ available.
|
||||
.PHONY : edit_cache
|
||||
|
||||
# Special rule for the target edit_cache
|
||||
edit_cache/fast: edit_cache
|
||||
.PHONY : edit_cache/fast
|
||||
|
||||
# Special rule for the target rebuild_cache
|
||||
rebuild_cache:
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..."
|
||||
/usr/bin/cmake --regenerate-during-build -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
|
||||
.PHONY : rebuild_cache
|
||||
|
||||
# Special rule for the target rebuild_cache
|
||||
rebuild_cache/fast: rebuild_cache
|
||||
.PHONY : rebuild_cache/fast
|
||||
|
||||
# Special rule for the target list_install_components
|
||||
list_install_components:
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\""
|
||||
.PHONY : list_install_components
|
||||
|
||||
# Special rule for the target list_install_components
|
||||
list_install_components/fast: list_install_components
|
||||
.PHONY : list_install_components/fast
|
||||
|
||||
# Special rule for the target install
|
||||
install: preinstall
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..."
|
||||
/usr/bin/cmake -P cmake_install.cmake
|
||||
.PHONY : install
|
||||
|
||||
# Special rule for the target install
|
||||
install/fast: preinstall/fast
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..."
|
||||
/usr/bin/cmake -P cmake_install.cmake
|
||||
.PHONY : install/fast
|
||||
|
||||
# Special rule for the target install/local
|
||||
install/local: preinstall
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..."
|
||||
/usr/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake
|
||||
.PHONY : install/local
|
||||
|
||||
# Special rule for the target install/local
|
||||
install/local/fast: preinstall/fast
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..."
|
||||
/usr/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake
|
||||
.PHONY : install/local/fast
|
||||
|
||||
# Special rule for the target install/strip
|
||||
install/strip: preinstall
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..."
|
||||
/usr/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake
|
||||
.PHONY : install/strip
|
||||
|
||||
# Special rule for the target install/strip
|
||||
install/strip/fast: preinstall/fast
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..."
|
||||
/usr/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake
|
||||
.PHONY : install/strip/fast
|
||||
|
||||
# The main all target
|
||||
all: cmake_check_build_system
|
||||
$(CMAKE_COMMAND) -E cmake_progress_start /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/CMakeFiles /home/jianyuzh/ws/llama.cpp/develop/examples/sycl//CMakeFiles/progress.marks
|
||||
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 all
|
||||
$(CMAKE_COMMAND) -E cmake_progress_start /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/CMakeFiles 0
|
||||
.PHONY : all
|
||||
|
||||
# The main clean target
|
||||
clean:
|
||||
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 clean
|
||||
.PHONY : clean
|
||||
|
||||
# The main clean target
|
||||
clean/fast: clean
|
||||
.PHONY : clean/fast
|
||||
|
||||
# Prepare targets for installation.
|
||||
preinstall: all
|
||||
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 preinstall
|
||||
.PHONY : preinstall
|
||||
|
||||
# Prepare targets for installation.
|
||||
preinstall/fast:
|
||||
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 preinstall
|
||||
.PHONY : preinstall/fast
|
||||
|
||||
# clear depends
|
||||
depend:
|
||||
$(CMAKE_COMMAND) -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1
|
||||
.PHONY : depend
|
||||
|
||||
#=============================================================================
|
||||
# Target rules for targets named baby-llama
|
||||
|
||||
# Build rule for target.
|
||||
baby-llama: cmake_check_build_system
|
||||
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 baby-llama
|
||||
.PHONY : baby-llama
|
||||
|
||||
# fast build rule for target.
|
||||
baby-llama/fast:
|
||||
$(MAKE) $(MAKESILENT) -f baby-llama/CMakeFiles/baby-llama.dir/build.make baby-llama/CMakeFiles/baby-llama.dir/build
|
||||
.PHONY : baby-llama/fast
|
||||
|
||||
#=============================================================================
|
||||
# Target rules for targets named batched
|
||||
|
||||
# Build rule for target.
|
||||
batched: cmake_check_build_system
|
||||
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 batched
|
||||
.PHONY : batched
|
||||
|
||||
# fast build rule for target.
|
||||
batched/fast:
|
||||
$(MAKE) $(MAKESILENT) -f batched/CMakeFiles/batched.dir/build.make batched/CMakeFiles/batched.dir/build
|
||||
.PHONY : batched/fast
|
||||
|
||||
#=============================================================================
|
||||
# Target rules for targets named batched-bench
|
||||
|
||||
# Build rule for target.
|
||||
batched-bench: cmake_check_build_system
|
||||
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 batched-bench
|
||||
.PHONY : batched-bench
|
||||
|
||||
# fast build rule for target.
|
||||
batched-bench/fast:
|
||||
$(MAKE) $(MAKESILENT) -f batched-bench/CMakeFiles/batched-bench.dir/build.make batched-bench/CMakeFiles/batched-bench.dir/build
|
||||
.PHONY : batched-bench/fast
|
||||
|
||||
#=============================================================================
|
||||
# Target rules for targets named beam-search
|
||||
|
||||
# Build rule for target.
|
||||
beam-search: cmake_check_build_system
|
||||
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 beam-search
|
||||
.PHONY : beam-search
|
||||
|
||||
# fast build rule for target.
|
||||
beam-search/fast:
|
||||
$(MAKE) $(MAKESILENT) -f beam-search/CMakeFiles/beam-search.dir/build.make beam-search/CMakeFiles/beam-search.dir/build
|
||||
.PHONY : beam-search/fast
|
||||
|
||||
#=============================================================================
|
||||
# Target rules for targets named benchmark
|
||||
|
||||
# Build rule for target.
|
||||
benchmark: cmake_check_build_system
|
||||
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 benchmark
|
||||
.PHONY : benchmark
|
||||
|
||||
# fast build rule for target.
|
||||
benchmark/fast:
|
||||
$(MAKE) $(MAKESILENT) -f benchmark/CMakeFiles/benchmark.dir/build.make benchmark/CMakeFiles/benchmark.dir/build
|
||||
.PHONY : benchmark/fast
|
||||
|
||||
#=============================================================================
|
||||
# Target rules for targets named convert-llama2c-to-ggml
|
||||
|
||||
# Build rule for target.
|
||||
convert-llama2c-to-ggml: cmake_check_build_system
|
||||
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 convert-llama2c-to-ggml
|
||||
.PHONY : convert-llama2c-to-ggml
|
||||
|
||||
# fast build rule for target.
|
||||
convert-llama2c-to-ggml/fast:
|
||||
$(MAKE) $(MAKESILENT) -f convert-llama2c-to-ggml/CMakeFiles/convert-llama2c-to-ggml.dir/build.make convert-llama2c-to-ggml/CMakeFiles/convert-llama2c-to-ggml.dir/build
|
||||
.PHONY : convert-llama2c-to-ggml/fast
|
||||
|
||||
#=============================================================================
|
||||
# Target rules for targets named embedding
|
||||
|
||||
# Build rule for target.
|
||||
embedding: cmake_check_build_system
|
||||
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 embedding
|
||||
.PHONY : embedding
|
||||
|
||||
# fast build rule for target.
|
||||
embedding/fast:
|
||||
$(MAKE) $(MAKESILENT) -f embedding/CMakeFiles/embedding.dir/build.make embedding/CMakeFiles/embedding.dir/build
|
||||
.PHONY : embedding/fast
|
||||
|
||||
#=============================================================================
|
||||
# Target rules for targets named finetune
|
||||
|
||||
# Build rule for target.
|
||||
finetune: cmake_check_build_system
|
||||
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 finetune
|
||||
.PHONY : finetune
|
||||
|
||||
# fast build rule for target.
|
||||
finetune/fast:
|
||||
$(MAKE) $(MAKESILENT) -f finetune/CMakeFiles/finetune.dir/build.make finetune/CMakeFiles/finetune.dir/build
|
||||
.PHONY : finetune/fast
|
||||
|
||||
#=============================================================================
|
||||
# Target rules for targets named infill
|
||||
|
||||
# Build rule for target.
|
||||
infill: cmake_check_build_system
|
||||
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 infill
|
||||
.PHONY : infill
|
||||
|
||||
# fast build rule for target.
|
||||
infill/fast:
|
||||
$(MAKE) $(MAKESILENT) -f infill/CMakeFiles/infill.dir/build.make infill/CMakeFiles/infill.dir/build
|
||||
.PHONY : infill/fast
|
||||
|
||||
#=============================================================================
|
||||
# Target rules for targets named llama-bench
|
||||
|
||||
# Build rule for target.
|
||||
llama-bench: cmake_check_build_system
|
||||
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 llama-bench
|
||||
.PHONY : llama-bench
|
||||
|
||||
# fast build rule for target.
|
||||
llama-bench/fast:
|
||||
$(MAKE) $(MAKESILENT) -f llama-bench/CMakeFiles/llama-bench.dir/build.make llama-bench/CMakeFiles/llama-bench.dir/build
|
||||
.PHONY : llama-bench/fast
|
||||
|
||||
#=============================================================================
|
||||
# Target rules for targets named llava
|
||||
|
||||
# Build rule for target.
|
||||
llava: cmake_check_build_system
|
||||
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 llava
|
||||
.PHONY : llava
|
||||
|
||||
# fast build rule for target.
|
||||
llava/fast:
|
||||
$(MAKE) $(MAKESILENT) -f llava/CMakeFiles/llava.dir/build.make llava/CMakeFiles/llava.dir/build
|
||||
.PHONY : llava/fast
|
||||
|
||||
#=============================================================================
|
||||
# Target rules for targets named llava_static
|
||||
|
||||
# Build rule for target.
|
||||
llava_static: cmake_check_build_system
|
||||
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 llava_static
|
||||
.PHONY : llava_static
|
||||
|
||||
# fast build rule for target.
|
||||
llava_static/fast:
|
||||
$(MAKE) $(MAKESILENT) -f llava/CMakeFiles/llava_static.dir/build.make llava/CMakeFiles/llava_static.dir/build
|
||||
.PHONY : llava_static/fast
|
||||
|
||||
#=============================================================================
|
||||
# Target rules for targets named llava-cli
|
||||
|
||||
# Build rule for target.
|
||||
llava-cli: cmake_check_build_system
|
||||
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 llava-cli
|
||||
.PHONY : llava-cli
|
||||
|
||||
# fast build rule for target.
|
||||
llava-cli/fast:
|
||||
$(MAKE) $(MAKESILENT) -f llava/CMakeFiles/llava-cli.dir/build.make llava/CMakeFiles/llava-cli.dir/build
|
||||
.PHONY : llava-cli/fast
|
||||
|
||||
#=============================================================================
|
||||
# Target rules for targets named ls-sycl-device
|
||||
|
||||
# Build rule for target.
|
||||
ls-sycl-device: cmake_check_build_system
|
||||
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 ls-sycl-device
|
||||
.PHONY : ls-sycl-device
|
||||
|
||||
# fast build rule for target.
|
||||
ls-sycl-device/fast:
|
||||
$(MAKE) $(MAKESILENT) -f sycl/CMakeFiles/ls-sycl-device.dir/build.make sycl/CMakeFiles/ls-sycl-device.dir/build
|
||||
.PHONY : ls-sycl-device/fast
|
||||
|
||||
#=============================================================================
|
||||
# Target rules for targets named main
|
||||
|
||||
# Build rule for target.
|
||||
main: cmake_check_build_system
|
||||
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 main
|
||||
.PHONY : main
|
||||
|
||||
# fast build rule for target.
|
||||
main/fast:
|
||||
$(MAKE) $(MAKESILENT) -f main/CMakeFiles/main.dir/build.make main/CMakeFiles/main.dir/build
|
||||
.PHONY : main/fast
|
||||
|
||||
#=============================================================================
|
||||
# Target rules for targets named tokenize
|
||||
|
||||
# Build rule for target.
|
||||
tokenize: cmake_check_build_system
|
||||
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 tokenize
|
||||
.PHONY : tokenize
|
||||
|
||||
# fast build rule for target.
|
||||
tokenize/fast:
|
||||
$(MAKE) $(MAKESILENT) -f tokenize/CMakeFiles/tokenize.dir/build.make tokenize/CMakeFiles/tokenize.dir/build
|
||||
.PHONY : tokenize/fast
|
||||
|
||||
#=============================================================================
|
||||
# Target rules for targets named parallel
|
||||
|
||||
# Build rule for target.
|
||||
parallel: cmake_check_build_system
|
||||
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 parallel
|
||||
.PHONY : parallel
|
||||
|
||||
# fast build rule for target.
|
||||
parallel/fast:
|
||||
$(MAKE) $(MAKESILENT) -f parallel/CMakeFiles/parallel.dir/build.make parallel/CMakeFiles/parallel.dir/build
|
||||
.PHONY : parallel/fast
|
||||
|
||||
#=============================================================================
|
||||
# Target rules for targets named perplexity
|
||||
|
||||
# Build rule for target.
|
||||
perplexity: cmake_check_build_system
|
||||
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 perplexity
|
||||
.PHONY : perplexity
|
||||
|
||||
# fast build rule for target.
|
||||
perplexity/fast:
|
||||
$(MAKE) $(MAKESILENT) -f perplexity/CMakeFiles/perplexity.dir/build.make perplexity/CMakeFiles/perplexity.dir/build
|
||||
.PHONY : perplexity/fast
|
||||
|
||||
#=============================================================================
|
||||
# Target rules for targets named quantize
|
||||
|
||||
# Build rule for target.
|
||||
quantize: cmake_check_build_system
|
||||
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 quantize
|
||||
.PHONY : quantize
|
||||
|
||||
# fast build rule for target.
|
||||
quantize/fast:
|
||||
$(MAKE) $(MAKESILENT) -f quantize/CMakeFiles/quantize.dir/build.make quantize/CMakeFiles/quantize.dir/build
|
||||
.PHONY : quantize/fast
|
||||
|
||||
#=============================================================================
|
||||
# Target rules for targets named quantize-stats
|
||||
|
||||
# Build rule for target.
|
||||
quantize-stats: cmake_check_build_system
|
||||
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 quantize-stats
|
||||
.PHONY : quantize-stats
|
||||
|
||||
# fast build rule for target.
|
||||
quantize-stats/fast:
|
||||
$(MAKE) $(MAKESILENT) -f quantize-stats/CMakeFiles/quantize-stats.dir/build.make quantize-stats/CMakeFiles/quantize-stats.dir/build
|
||||
.PHONY : quantize-stats/fast
|
||||
|
||||
#=============================================================================
|
||||
# Target rules for targets named save-load-state
|
||||
|
||||
# Build rule for target.
|
||||
save-load-state: cmake_check_build_system
|
||||
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 save-load-state
|
||||
.PHONY : save-load-state
|
||||
|
||||
# fast build rule for target.
|
||||
save-load-state/fast:
|
||||
$(MAKE) $(MAKESILENT) -f save-load-state/CMakeFiles/save-load-state.dir/build.make save-load-state/CMakeFiles/save-load-state.dir/build
|
||||
.PHONY : save-load-state/fast
|
||||
|
||||
#=============================================================================
|
||||
# Target rules for targets named simple
|
||||
|
||||
# Build rule for target.
|
||||
simple: cmake_check_build_system
|
||||
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 simple
|
||||
.PHONY : simple
|
||||
|
||||
# fast build rule for target.
|
||||
simple/fast:
|
||||
$(MAKE) $(MAKESILENT) -f simple/CMakeFiles/simple.dir/build.make simple/CMakeFiles/simple.dir/build
|
||||
.PHONY : simple/fast
|
||||
|
||||
#=============================================================================
|
||||
# Target rules for targets named speculative
|
||||
|
||||
# Build rule for target.
|
||||
speculative: cmake_check_build_system
|
||||
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 speculative
|
||||
.PHONY : speculative
|
||||
|
||||
# fast build rule for target.
|
||||
speculative/fast:
|
||||
$(MAKE) $(MAKESILENT) -f speculative/CMakeFiles/speculative.dir/build.make speculative/CMakeFiles/speculative.dir/build
|
||||
.PHONY : speculative/fast
|
||||
|
||||
#=============================================================================
|
||||
# Target rules for targets named lookahead
|
||||
|
||||
# Build rule for target.
|
||||
lookahead: cmake_check_build_system
|
||||
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 lookahead
|
||||
.PHONY : lookahead
|
||||
|
||||
# fast build rule for target.
|
||||
lookahead/fast:
|
||||
$(MAKE) $(MAKESILENT) -f lookahead/CMakeFiles/lookahead.dir/build.make lookahead/CMakeFiles/lookahead.dir/build
|
||||
.PHONY : lookahead/fast
|
||||
|
||||
#=============================================================================
|
||||
# Target rules for targets named lookup
|
||||
|
||||
# Build rule for target.
|
||||
lookup: cmake_check_build_system
|
||||
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 lookup
|
||||
.PHONY : lookup
|
||||
|
||||
# fast build rule for target.
|
||||
lookup/fast:
|
||||
$(MAKE) $(MAKESILENT) -f lookup/CMakeFiles/lookup.dir/build.make lookup/CMakeFiles/lookup.dir/build
|
||||
.PHONY : lookup/fast
|
||||
|
||||
#=============================================================================
|
||||
# Target rules for targets named train-text-from-scratch
|
||||
|
||||
# Build rule for target.
|
||||
train-text-from-scratch: cmake_check_build_system
|
||||
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 train-text-from-scratch
|
||||
.PHONY : train-text-from-scratch
|
||||
|
||||
# fast build rule for target.
|
||||
train-text-from-scratch/fast:
|
||||
$(MAKE) $(MAKESILENT) -f train-text-from-scratch/CMakeFiles/train-text-from-scratch.dir/build.make train-text-from-scratch/CMakeFiles/train-text-from-scratch.dir/build
|
||||
.PHONY : train-text-from-scratch/fast
|
||||
|
||||
#=============================================================================
|
||||
# Target rules for targets named export-lora
|
||||
|
||||
# Build rule for target.
|
||||
export-lora: cmake_check_build_system
|
||||
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 export-lora
|
||||
.PHONY : export-lora
|
||||
|
||||
# fast build rule for target.
|
||||
export-lora/fast:
|
||||
$(MAKE) $(MAKESILENT) -f export-lora/CMakeFiles/export-lora.dir/build.make export-lora/CMakeFiles/export-lora.dir/build
|
||||
.PHONY : export-lora/fast
|
||||
|
||||
# Help Target
|
||||
help:
|
||||
@echo "The following are some of the valid targets for this Makefile:"
|
||||
@echo "... all (the default if no target is provided)"
|
||||
@echo "... clean"
|
||||
@echo "... depend"
|
||||
@echo "... edit_cache"
|
||||
@echo "... install"
|
||||
@echo "... install/local"
|
||||
@echo "... install/strip"
|
||||
@echo "... list_install_components"
|
||||
@echo "... rebuild_cache"
|
||||
@echo "... baby-llama"
|
||||
@echo "... batched"
|
||||
@echo "... batched-bench"
|
||||
@echo "... beam-search"
|
||||
@echo "... benchmark"
|
||||
@echo "... convert-llama2c-to-ggml"
|
||||
@echo "... embedding"
|
||||
@echo "... export-lora"
|
||||
@echo "... finetune"
|
||||
@echo "... infill"
|
||||
@echo "... llama-bench"
|
||||
@echo "... llava"
|
||||
@echo "... llava-cli"
|
||||
@echo "... llava_static"
|
||||
@echo "... lookahead"
|
||||
@echo "... lookup"
|
||||
@echo "... ls-sycl-device"
|
||||
@echo "... main"
|
||||
@echo "... parallel"
|
||||
@echo "... perplexity"
|
||||
@echo "... quantize"
|
||||
@echo "... quantize-stats"
|
||||
@echo "... save-load-state"
|
||||
@echo "... simple"
|
||||
@echo "... speculative"
|
||||
@echo "... tokenize"
|
||||
@echo "... train-text-from-scratch"
|
||||
.PHONY : help
|
||||
|
||||
|
||||
|
||||
#=============================================================================
|
||||
# Special targets to cleanup operation of make.
|
||||
|
||||
# Special rule to run CMake to check the build system integrity.
|
||||
# No rule that depends on this can have commands that come from listfiles
|
||||
# because they might be regenerated.
|
||||
cmake_check_build_system:
|
||||
$(CMAKE_COMMAND) -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0
|
||||
.PHONY : cmake_check_build_system
|
||||
|
47
examples/sycl/README.md
Normal file
47
examples/sycl/README.md
Normal file
|
@ -0,0 +1,47 @@
|
|||
# llama.cpp/example/sycl
|
||||
|
||||
This example program provide the tools for llama.cpp for SYCL on Intel GPU.
|
||||
|
||||
## Tool
|
||||
|
||||
|Tool Name| Function|Status|
|
||||
|-|-|-|
|
||||
|ls-sycl-device| List all SYCL devices with ID, compute capability, max work group size, ect.|Support|
|
||||
|
||||
### ls-sycl-device
|
||||
|
||||
List all SYCL devices with ID, compute capability, max work group size, ect.
|
||||
|
||||
1. Build the llama.cpp for SYCL for all targets.
|
||||
|
||||
2. Enable oneAPI running environment
|
||||
|
||||
```
|
||||
source /opt/intel/oneapi/setvars.sh
|
||||
```
|
||||
|
||||
3. Execute
|
||||
|
||||
```
|
||||
./build/bin/ls-sycl-device
|
||||
```
|
||||
|
||||
Check the ID in startup log, like:
|
||||
|
||||
```
|
||||
found 4 SYCL devices:
|
||||
Device 0: Intel(R) Arc(TM) A770 Graphics, compute capability 1.3,
|
||||
max compute_units 512, max work group size 1024, max sub group size 32, global mem size 16225243136
|
||||
Device 1: Intel(R) FPGA Emulation Device, compute capability 1.2,
|
||||
max compute_units 24, max work group size 67108864, max sub group size 64, global mem size 67065057280
|
||||
Device 2: 13th Gen Intel(R) Core(TM) i7-13700K, compute capability 3.0,
|
||||
max compute_units 24, max work group size 8192, max sub group size 64, global mem size 67065057280
|
||||
Device 3: Intel(R) Arc(TM) A770 Graphics, compute capability 3.0,
|
||||
max compute_units 512, max work group size 1024, max sub group size 32, global mem size 16225243136
|
||||
|
||||
```
|
||||
|
||||
|Attribute|Note|
|
||||
|-|-|
|
||||
|compute capability 1.3|Level-zero running time, recommended |
|
||||
|compute capability 3.0|OpenCL running time, slower than level-zero in most cases|
|
|
@ -0,0 +1,16 @@
|
|||
# CMAKE generated file: DO NOT EDIT!
|
||||
# Generated by "Unix Makefiles" Generator, CMake Version 3.22
|
||||
|
||||
# Relative path conversion top directories.
|
||||
set(CMAKE_RELATIVE_PATH_TOP_SOURCE "/home/jianyuzh/ws/llama.cpp/develop/examples")
|
||||
set(CMAKE_RELATIVE_PATH_TOP_BINARY "/home/jianyuzh/ws/llama.cpp/develop/examples/sycl")
|
||||
|
||||
# Force unix paths in dependencies.
|
||||
set(CMAKE_FORCE_UNIX_PATHS 1)
|
||||
|
||||
|
||||
# The C and CXX include file regular expressions for this directory.
|
||||
set(CMAKE_C_INCLUDE_REGEX_SCAN "^.*$")
|
||||
set(CMAKE_C_INCLUDE_REGEX_COMPLAIN "^$")
|
||||
set(CMAKE_CXX_INCLUDE_REGEX_SCAN ${CMAKE_C_INCLUDE_REGEX_SCAN})
|
||||
set(CMAKE_CXX_INCLUDE_REGEX_COMPLAIN ${CMAKE_C_INCLUDE_REGEX_COMPLAIN})
|
|
@ -0,0 +1,19 @@
|
|||
|
||||
# Consider dependencies only in project.
|
||||
set(CMAKE_DEPENDS_IN_PROJECT_ONLY OFF)
|
||||
|
||||
# The set of languages for which implicit dependencies are needed:
|
||||
set(CMAKE_DEPENDS_LANGUAGES
|
||||
)
|
||||
|
||||
# The set of dependency files which are needed:
|
||||
set(CMAKE_DEPENDS_DEPENDENCY_FILES
|
||||
"/home/jianyuzh/ws/llama.cpp/develop/examples/baby-llama/baby-llama.cpp" "baby-llama/CMakeFiles/baby-llama.dir/baby-llama.o" "gcc" "baby-llama/CMakeFiles/baby-llama.dir/baby-llama.o.d"
|
||||
)
|
||||
|
||||
# Targets to which this target links.
|
||||
set(CMAKE_TARGET_LINKED_INFO_FILES
|
||||
)
|
||||
|
||||
# Fortran module output directory.
|
||||
set(CMAKE_Fortran_TARGET_MODULE_DIR "")
|
110
examples/sycl/baby-llama/CMakeFiles/baby-llama.dir/build.make
Normal file
110
examples/sycl/baby-llama/CMakeFiles/baby-llama.dir/build.make
Normal file
|
@ -0,0 +1,110 @@
|
|||
# CMAKE generated file: DO NOT EDIT!
|
||||
# Generated by "Unix Makefiles" Generator, CMake Version 3.22
|
||||
|
||||
# Delete rule output on recipe failure.
|
||||
.DELETE_ON_ERROR:
|
||||
|
||||
#=============================================================================
|
||||
# Special targets provided by cmake.
|
||||
|
||||
# Disable implicit rules so canonical targets will work.
|
||||
.SUFFIXES:
|
||||
|
||||
# Disable VCS-based implicit rules.
|
||||
% : %,v
|
||||
|
||||
# Disable VCS-based implicit rules.
|
||||
% : RCS/%
|
||||
|
||||
# Disable VCS-based implicit rules.
|
||||
% : RCS/%,v
|
||||
|
||||
# Disable VCS-based implicit rules.
|
||||
% : SCCS/s.%
|
||||
|
||||
# Disable VCS-based implicit rules.
|
||||
% : s.%
|
||||
|
||||
.SUFFIXES: .hpux_make_needs_suffix_list
|
||||
|
||||
# Command-line flag to silence nested $(MAKE).
|
||||
$(VERBOSE)MAKESILENT = -s
|
||||
|
||||
#Suppress display of executed commands.
|
||||
$(VERBOSE).SILENT:
|
||||
|
||||
# A target that is always out of date.
|
||||
cmake_force:
|
||||
.PHONY : cmake_force
|
||||
|
||||
#=============================================================================
|
||||
# Set environment variables for the build.
|
||||
|
||||
# The shell in which to execute make rules.
|
||||
SHELL = /bin/sh
|
||||
|
||||
# The CMake executable.
|
||||
CMAKE_COMMAND = /usr/bin/cmake
|
||||
|
||||
# The command to remove a file.
|
||||
RM = /usr/bin/cmake -E rm -f
|
||||
|
||||
# Escaping for special characters.
|
||||
EQUALS = =
|
||||
|
||||
# The top-level source directory on which CMake was run.
|
||||
CMAKE_SOURCE_DIR = /home/jianyuzh/ws/llama.cpp/develop/examples
|
||||
|
||||
# The top-level build directory on which CMake was run.
|
||||
CMAKE_BINARY_DIR = /home/jianyuzh/ws/llama.cpp/develop/examples/sycl
|
||||
|
||||
# Include any dependencies generated for this target.
|
||||
include baby-llama/CMakeFiles/baby-llama.dir/depend.make
|
||||
# Include any dependencies generated by the compiler for this target.
|
||||
include baby-llama/CMakeFiles/baby-llama.dir/compiler_depend.make
|
||||
|
||||
# Include the progress variables for this target.
|
||||
include baby-llama/CMakeFiles/baby-llama.dir/progress.make
|
||||
|
||||
# Include the compile flags for this target's objects.
|
||||
include baby-llama/CMakeFiles/baby-llama.dir/flags.make
|
||||
|
||||
baby-llama/CMakeFiles/baby-llama.dir/baby-llama.o: baby-llama/CMakeFiles/baby-llama.dir/flags.make
|
||||
baby-llama/CMakeFiles/baby-llama.dir/baby-llama.o: ../baby-llama/baby-llama.cpp
|
||||
baby-llama/CMakeFiles/baby-llama.dir/baby-llama.o: baby-llama/CMakeFiles/baby-llama.dir/compiler_depend.ts
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/CMakeFiles --progress-num=$(CMAKE_PROGRESS_1) "Building CXX object baby-llama/CMakeFiles/baby-llama.dir/baby-llama.o"
|
||||
cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/baby-llama && /opt/intel/oneapi/compiler/2024.0/bin/icpx $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -MD -MT baby-llama/CMakeFiles/baby-llama.dir/baby-llama.o -MF CMakeFiles/baby-llama.dir/baby-llama.o.d -o CMakeFiles/baby-llama.dir/baby-llama.o -c /home/jianyuzh/ws/llama.cpp/develop/examples/baby-llama/baby-llama.cpp
|
||||
|
||||
baby-llama/CMakeFiles/baby-llama.dir/baby-llama.i: cmake_force
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/baby-llama.dir/baby-llama.i"
|
||||
cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/baby-llama && /opt/intel/oneapi/compiler/2024.0/bin/icpx $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /home/jianyuzh/ws/llama.cpp/develop/examples/baby-llama/baby-llama.cpp > CMakeFiles/baby-llama.dir/baby-llama.i
|
||||
|
||||
baby-llama/CMakeFiles/baby-llama.dir/baby-llama.s: cmake_force
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/baby-llama.dir/baby-llama.s"
|
||||
cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/baby-llama && /opt/intel/oneapi/compiler/2024.0/bin/icpx $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /home/jianyuzh/ws/llama.cpp/develop/examples/baby-llama/baby-llama.cpp -o CMakeFiles/baby-llama.dir/baby-llama.s
|
||||
|
||||
# Object files for target baby-llama
|
||||
baby__llama_OBJECTS = \
|
||||
"CMakeFiles/baby-llama.dir/baby-llama.o"
|
||||
|
||||
# External object files for target baby-llama
|
||||
baby__llama_EXTERNAL_OBJECTS =
|
||||
|
||||
baby-llama/baby-llama: baby-llama/CMakeFiles/baby-llama.dir/baby-llama.o
|
||||
baby-llama/baby-llama: baby-llama/CMakeFiles/baby-llama.dir/build.make
|
||||
baby-llama/baby-llama: baby-llama/CMakeFiles/baby-llama.dir/link.txt
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --bold --progress-dir=/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/CMakeFiles --progress-num=$(CMAKE_PROGRESS_2) "Linking CXX executable baby-llama"
|
||||
cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/baby-llama && $(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/baby-llama.dir/link.txt --verbose=$(VERBOSE)
|
||||
|
||||
# Rule to build all files generated by this target.
|
||||
baby-llama/CMakeFiles/baby-llama.dir/build: baby-llama/baby-llama
|
||||
.PHONY : baby-llama/CMakeFiles/baby-llama.dir/build
|
||||
|
||||
baby-llama/CMakeFiles/baby-llama.dir/clean:
|
||||
cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/baby-llama && $(CMAKE_COMMAND) -P CMakeFiles/baby-llama.dir/cmake_clean.cmake
|
||||
.PHONY : baby-llama/CMakeFiles/baby-llama.dir/clean
|
||||
|
||||
baby-llama/CMakeFiles/baby-llama.dir/depend:
|
||||
cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/jianyuzh/ws/llama.cpp/develop/examples /home/jianyuzh/ws/llama.cpp/develop/examples/baby-llama /home/jianyuzh/ws/llama.cpp/develop/examples/sycl /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/baby-llama /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/baby-llama/CMakeFiles/baby-llama.dir/DependInfo.cmake --color=$(COLOR)
|
||||
.PHONY : baby-llama/CMakeFiles/baby-llama.dir/depend
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
file(REMOVE_RECURSE
|
||||
"CMakeFiles/baby-llama.dir/baby-llama.o"
|
||||
"CMakeFiles/baby-llama.dir/baby-llama.o.d"
|
||||
"baby-llama"
|
||||
"baby-llama.pdb"
|
||||
)
|
||||
|
||||
# Per-language clean rules from dependency scanning.
|
||||
foreach(lang CXX)
|
||||
include(CMakeFiles/baby-llama.dir/cmake_clean_${lang}.cmake OPTIONAL)
|
||||
endforeach()
|
|
@ -0,0 +1,2 @@
|
|||
# Empty compiler generated dependencies file for baby-llama.
|
||||
# This may be replaced when dependencies are built.
|
|
@ -0,0 +1,2 @@
|
|||
# CMAKE generated file: DO NOT EDIT!
|
||||
# Timestamp file for compiler generated dependencies management for baby-llama.
|
|
@ -0,0 +1,2 @@
|
|||
# Empty dependencies file for baby-llama.
|
||||
# This may be replaced when dependencies are built.
|
|
@ -0,0 +1,10 @@
|
|||
# CMAKE generated file: DO NOT EDIT!
|
||||
# Generated by "Unix Makefiles" Generator, CMake Version 3.22
|
||||
|
||||
# compile CXX with /opt/intel/oneapi/compiler/2024.0/bin/icpx
|
||||
CXX_DEFINES =
|
||||
|
||||
CXX_INCLUDES = -I/home/jianyuzh/ws/llama.cpp/develop/examples
|
||||
|
||||
CXX_FLAGS =
|
||||
|
|
@ -0,0 +1 @@
|
|||
/opt/intel/oneapi/compiler/2024.0/bin/icpx -rdynamic CMakeFiles/baby-llama.dir/baby-llama.o -o baby-llama -lcommon -lllama
|
|
@ -0,0 +1,3 @@
|
|||
CMAKE_PROGRESS_1 = 1
|
||||
CMAKE_PROGRESS_2 = 2
|
||||
|
1
examples/sycl/baby-llama/CMakeFiles/progress.marks
Normal file
1
examples/sycl/baby-llama/CMakeFiles/progress.marks
Normal file
|
@ -0,0 +1 @@
|
|||
2
|
222
examples/sycl/baby-llama/Makefile
Normal file
222
examples/sycl/baby-llama/Makefile
Normal file
|
@ -0,0 +1,222 @@
|
|||
# CMAKE generated file: DO NOT EDIT!
|
||||
# Generated by "Unix Makefiles" Generator, CMake Version 3.22
|
||||
|
||||
# Default target executed when no arguments are given to make.
|
||||
default_target: all
|
||||
.PHONY : default_target
|
||||
|
||||
# Allow only one "make -f Makefile2" at a time, but pass parallelism.
|
||||
.NOTPARALLEL:
|
||||
|
||||
#=============================================================================
|
||||
# Special targets provided by cmake.
|
||||
|
||||
# Disable implicit rules so canonical targets will work.
|
||||
.SUFFIXES:
|
||||
|
||||
# Disable VCS-based implicit rules.
|
||||
% : %,v
|
||||
|
||||
# Disable VCS-based implicit rules.
|
||||
% : RCS/%
|
||||
|
||||
# Disable VCS-based implicit rules.
|
||||
% : RCS/%,v
|
||||
|
||||
# Disable VCS-based implicit rules.
|
||||
% : SCCS/s.%
|
||||
|
||||
# Disable VCS-based implicit rules.
|
||||
% : s.%
|
||||
|
||||
.SUFFIXES: .hpux_make_needs_suffix_list
|
||||
|
||||
# Command-line flag to silence nested $(MAKE).
|
||||
$(VERBOSE)MAKESILENT = -s
|
||||
|
||||
#Suppress display of executed commands.
|
||||
$(VERBOSE).SILENT:
|
||||
|
||||
# A target that is always out of date.
|
||||
cmake_force:
|
||||
.PHONY : cmake_force
|
||||
|
||||
#=============================================================================
|
||||
# Set environment variables for the build.
|
||||
|
||||
# The shell in which to execute make rules.
|
||||
SHELL = /bin/sh
|
||||
|
||||
# The CMake executable.
|
||||
CMAKE_COMMAND = /usr/bin/cmake
|
||||
|
||||
# The command to remove a file.
|
||||
RM = /usr/bin/cmake -E rm -f
|
||||
|
||||
# Escaping for special characters.
|
||||
EQUALS = =
|
||||
|
||||
# The top-level source directory on which CMake was run.
|
||||
CMAKE_SOURCE_DIR = /home/jianyuzh/ws/llama.cpp/develop/examples
|
||||
|
||||
# The top-level build directory on which CMake was run.
|
||||
CMAKE_BINARY_DIR = /home/jianyuzh/ws/llama.cpp/develop/examples/sycl
|
||||
|
||||
#=============================================================================
|
||||
# Targets provided globally by CMake.
|
||||
|
||||
# Special rule for the target edit_cache
|
||||
edit_cache:
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "No interactive CMake dialog available..."
|
||||
/usr/bin/cmake -E echo No\ interactive\ CMake\ dialog\ available.
|
||||
.PHONY : edit_cache
|
||||
|
||||
# Special rule for the target edit_cache
|
||||
edit_cache/fast: edit_cache
|
||||
.PHONY : edit_cache/fast
|
||||
|
||||
# Special rule for the target rebuild_cache
|
||||
rebuild_cache:
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..."
|
||||
/usr/bin/cmake --regenerate-during-build -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
|
||||
.PHONY : rebuild_cache
|
||||
|
||||
# Special rule for the target rebuild_cache
|
||||
rebuild_cache/fast: rebuild_cache
|
||||
.PHONY : rebuild_cache/fast
|
||||
|
||||
# Special rule for the target list_install_components
|
||||
list_install_components:
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\""
|
||||
.PHONY : list_install_components
|
||||
|
||||
# Special rule for the target list_install_components
|
||||
list_install_components/fast: list_install_components
|
||||
.PHONY : list_install_components/fast
|
||||
|
||||
# Special rule for the target install
|
||||
install: preinstall
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..."
|
||||
/usr/bin/cmake -P cmake_install.cmake
|
||||
.PHONY : install
|
||||
|
||||
# Special rule for the target install
|
||||
install/fast: preinstall/fast
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..."
|
||||
/usr/bin/cmake -P cmake_install.cmake
|
||||
.PHONY : install/fast
|
||||
|
||||
# Special rule for the target install/local
|
||||
install/local: preinstall
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..."
|
||||
/usr/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake
|
||||
.PHONY : install/local
|
||||
|
||||
# Special rule for the target install/local
|
||||
install/local/fast: preinstall/fast
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..."
|
||||
/usr/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake
|
||||
.PHONY : install/local/fast
|
||||
|
||||
# Special rule for the target install/strip
|
||||
install/strip: preinstall
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..."
|
||||
/usr/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake
|
||||
.PHONY : install/strip
|
||||
|
||||
# Special rule for the target install/strip
|
||||
install/strip/fast: preinstall/fast
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..."
|
||||
/usr/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake
|
||||
.PHONY : install/strip/fast
|
||||
|
||||
# The main all target
|
||||
all: cmake_check_build_system
|
||||
cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(CMAKE_COMMAND) -E cmake_progress_start /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/CMakeFiles /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/baby-llama//CMakeFiles/progress.marks
|
||||
cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 baby-llama/all
|
||||
$(CMAKE_COMMAND) -E cmake_progress_start /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/CMakeFiles 0
|
||||
.PHONY : all
|
||||
|
||||
# The main clean target
|
||||
clean:
|
||||
cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 baby-llama/clean
|
||||
.PHONY : clean
|
||||
|
||||
# The main clean target
|
||||
clean/fast: clean
|
||||
.PHONY : clean/fast
|
||||
|
||||
# Prepare targets for installation.
|
||||
preinstall: all
|
||||
cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 baby-llama/preinstall
|
||||
.PHONY : preinstall
|
||||
|
||||
# Prepare targets for installation.
|
||||
preinstall/fast:
|
||||
cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 baby-llama/preinstall
|
||||
.PHONY : preinstall/fast
|
||||
|
||||
# clear depends
|
||||
depend:
|
||||
cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(CMAKE_COMMAND) -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1
|
||||
.PHONY : depend
|
||||
|
||||
# Convenience name for target.
|
||||
baby-llama/CMakeFiles/baby-llama.dir/rule:
|
||||
cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 baby-llama/CMakeFiles/baby-llama.dir/rule
|
||||
.PHONY : baby-llama/CMakeFiles/baby-llama.dir/rule
|
||||
|
||||
# Convenience name for target.
|
||||
baby-llama: baby-llama/CMakeFiles/baby-llama.dir/rule
|
||||
.PHONY : baby-llama
|
||||
|
||||
# fast build rule for target.
|
||||
baby-llama/fast:
|
||||
cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f baby-llama/CMakeFiles/baby-llama.dir/build.make baby-llama/CMakeFiles/baby-llama.dir/build
|
||||
.PHONY : baby-llama/fast
|
||||
|
||||
# target to build an object file
|
||||
baby-llama.o:
|
||||
cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f baby-llama/CMakeFiles/baby-llama.dir/build.make baby-llama/CMakeFiles/baby-llama.dir/baby-llama.o
|
||||
.PHONY : baby-llama.o
|
||||
|
||||
# target to preprocess a source file
|
||||
baby-llama.i:
|
||||
cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f baby-llama/CMakeFiles/baby-llama.dir/build.make baby-llama/CMakeFiles/baby-llama.dir/baby-llama.i
|
||||
.PHONY : baby-llama.i
|
||||
|
||||
# target to generate assembly for a file
|
||||
baby-llama.s:
|
||||
cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f baby-llama/CMakeFiles/baby-llama.dir/build.make baby-llama/CMakeFiles/baby-llama.dir/baby-llama.s
|
||||
.PHONY : baby-llama.s
|
||||
|
||||
# Help Target
|
||||
help:
|
||||
@echo "The following are some of the valid targets for this Makefile:"
|
||||
@echo "... all (the default if no target is provided)"
|
||||
@echo "... clean"
|
||||
@echo "... depend"
|
||||
@echo "... edit_cache"
|
||||
@echo "... install"
|
||||
@echo "... install/local"
|
||||
@echo "... install/strip"
|
||||
@echo "... list_install_components"
|
||||
@echo "... rebuild_cache"
|
||||
@echo "... baby-llama"
|
||||
@echo "... baby-llama.o"
|
||||
@echo "... baby-llama.i"
|
||||
@echo "... baby-llama.s"
|
||||
.PHONY : help
|
||||
|
||||
|
||||
|
||||
#=============================================================================
|
||||
# Special targets to cleanup operation of make.
|
||||
|
||||
# Special rule to run CMake to check the build system integrity.
|
||||
# No rule that depends on this can have commands that come from listfiles
|
||||
# because they might be regenerated.
|
||||
cmake_check_build_system:
|
||||
cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(CMAKE_COMMAND) -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0
|
||||
.PHONY : cmake_check_build_system
|
||||
|
60
examples/sycl/baby-llama/cmake_install.cmake
Normal file
60
examples/sycl/baby-llama/cmake_install.cmake
Normal file
|
@ -0,0 +1,60 @@
|
|||
# Install script for directory: /home/jianyuzh/ws/llama.cpp/develop/examples/baby-llama
|
||||
|
||||
# Set the install prefix
|
||||
if(NOT DEFINED CMAKE_INSTALL_PREFIX)
|
||||
set(CMAKE_INSTALL_PREFIX "/usr/local")
|
||||
endif()
|
||||
string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}")
|
||||
|
||||
# Set the install configuration name.
|
||||
if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME)
|
||||
if(BUILD_TYPE)
|
||||
string(REGEX REPLACE "^[^A-Za-z0-9_]+" ""
|
||||
CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}")
|
||||
else()
|
||||
set(CMAKE_INSTALL_CONFIG_NAME "")
|
||||
endif()
|
||||
message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"")
|
||||
endif()
|
||||
|
||||
# Set the component getting installed.
|
||||
if(NOT CMAKE_INSTALL_COMPONENT)
|
||||
if(COMPONENT)
|
||||
message(STATUS "Install component: \"${COMPONENT}\"")
|
||||
set(CMAKE_INSTALL_COMPONENT "${COMPONENT}")
|
||||
else()
|
||||
set(CMAKE_INSTALL_COMPONENT)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
# Install shared libraries without execute permission?
|
||||
if(NOT DEFINED CMAKE_INSTALL_SO_NO_EXE)
|
||||
set(CMAKE_INSTALL_SO_NO_EXE "1")
|
||||
endif()
|
||||
|
||||
# Is this installation the result of a crosscompile?
|
||||
if(NOT DEFINED CMAKE_CROSSCOMPILING)
|
||||
set(CMAKE_CROSSCOMPILING "FALSE")
|
||||
endif()
|
||||
|
||||
# Set default install directory permissions.
|
||||
if(NOT DEFINED CMAKE_OBJDUMP)
|
||||
set(CMAKE_OBJDUMP "/usr/bin/objdump")
|
||||
endif()
|
||||
|
||||
if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT)
|
||||
if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/baby-llama" AND
|
||||
NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/baby-llama")
|
||||
file(RPATH_CHECK
|
||||
FILE "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/baby-llama"
|
||||
RPATH "")
|
||||
endif()
|
||||
file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/bin" TYPE EXECUTABLE FILES "/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/baby-llama/baby-llama")
|
||||
if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/baby-llama" AND
|
||||
NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/baby-llama")
|
||||
if(CMAKE_INSTALL_DO_STRIP)
|
||||
execute_process(COMMAND "/usr/bin/strip" "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/baby-llama")
|
||||
endif()
|
||||
endif()
|
||||
endif()
|
||||
|
|
@ -0,0 +1,16 @@
|
|||
# CMAKE generated file: DO NOT EDIT!
|
||||
# Generated by "Unix Makefiles" Generator, CMake Version 3.22
|
||||
|
||||
# Relative path conversion top directories.
|
||||
set(CMAKE_RELATIVE_PATH_TOP_SOURCE "/home/jianyuzh/ws/llama.cpp/develop/examples")
|
||||
set(CMAKE_RELATIVE_PATH_TOP_BINARY "/home/jianyuzh/ws/llama.cpp/develop/examples/sycl")
|
||||
|
||||
# Force unix paths in dependencies.
|
||||
set(CMAKE_FORCE_UNIX_PATHS 1)
|
||||
|
||||
|
||||
# The C and CXX include file regular expressions for this directory.
|
||||
set(CMAKE_C_INCLUDE_REGEX_SCAN "^.*$")
|
||||
set(CMAKE_C_INCLUDE_REGEX_COMPLAIN "^$")
|
||||
set(CMAKE_CXX_INCLUDE_REGEX_SCAN ${CMAKE_C_INCLUDE_REGEX_SCAN})
|
||||
set(CMAKE_CXX_INCLUDE_REGEX_COMPLAIN ${CMAKE_C_INCLUDE_REGEX_COMPLAIN})
|
|
@ -0,0 +1,19 @@
|
|||
|
||||
# Consider dependencies only in project.
|
||||
set(CMAKE_DEPENDS_IN_PROJECT_ONLY OFF)
|
||||
|
||||
# The set of languages for which implicit dependencies are needed:
|
||||
set(CMAKE_DEPENDS_LANGUAGES
|
||||
)
|
||||
|
||||
# The set of dependency files which are needed:
|
||||
set(CMAKE_DEPENDS_DEPENDENCY_FILES
|
||||
"/home/jianyuzh/ws/llama.cpp/develop/examples/batched-bench/batched-bench.cpp" "batched-bench/CMakeFiles/batched-bench.dir/batched-bench.o" "gcc" "batched-bench/CMakeFiles/batched-bench.dir/batched-bench.o.d"
|
||||
)
|
||||
|
||||
# Targets to which this target links.
|
||||
set(CMAKE_TARGET_LINKED_INFO_FILES
|
||||
)
|
||||
|
||||
# Fortran module output directory.
|
||||
set(CMAKE_Fortran_TARGET_MODULE_DIR "")
|
|
@ -0,0 +1,110 @@
|
|||
# CMAKE generated file: DO NOT EDIT!
|
||||
# Generated by "Unix Makefiles" Generator, CMake Version 3.22
|
||||
|
||||
# Delete rule output on recipe failure.
|
||||
.DELETE_ON_ERROR:
|
||||
|
||||
#=============================================================================
|
||||
# Special targets provided by cmake.
|
||||
|
||||
# Disable implicit rules so canonical targets will work.
|
||||
.SUFFIXES:
|
||||
|
||||
# Disable VCS-based implicit rules.
|
||||
% : %,v
|
||||
|
||||
# Disable VCS-based implicit rules.
|
||||
% : RCS/%
|
||||
|
||||
# Disable VCS-based implicit rules.
|
||||
% : RCS/%,v
|
||||
|
||||
# Disable VCS-based implicit rules.
|
||||
% : SCCS/s.%
|
||||
|
||||
# Disable VCS-based implicit rules.
|
||||
% : s.%
|
||||
|
||||
.SUFFIXES: .hpux_make_needs_suffix_list
|
||||
|
||||
# Command-line flag to silence nested $(MAKE).
|
||||
$(VERBOSE)MAKESILENT = -s
|
||||
|
||||
#Suppress display of executed commands.
|
||||
$(VERBOSE).SILENT:
|
||||
|
||||
# A target that is always out of date.
|
||||
cmake_force:
|
||||
.PHONY : cmake_force
|
||||
|
||||
#=============================================================================
|
||||
# Set environment variables for the build.
|
||||
|
||||
# The shell in which to execute make rules.
|
||||
SHELL = /bin/sh
|
||||
|
||||
# The CMake executable.
|
||||
CMAKE_COMMAND = /usr/bin/cmake
|
||||
|
||||
# The command to remove a file.
|
||||
RM = /usr/bin/cmake -E rm -f
|
||||
|
||||
# Escaping for special characters.
|
||||
EQUALS = =
|
||||
|
||||
# The top-level source directory on which CMake was run.
|
||||
CMAKE_SOURCE_DIR = /home/jianyuzh/ws/llama.cpp/develop/examples
|
||||
|
||||
# The top-level build directory on which CMake was run.
|
||||
CMAKE_BINARY_DIR = /home/jianyuzh/ws/llama.cpp/develop/examples/sycl
|
||||
|
||||
# Include any dependencies generated for this target.
|
||||
include batched-bench/CMakeFiles/batched-bench.dir/depend.make
|
||||
# Include any dependencies generated by the compiler for this target.
|
||||
include batched-bench/CMakeFiles/batched-bench.dir/compiler_depend.make
|
||||
|
||||
# Include the progress variables for this target.
|
||||
include batched-bench/CMakeFiles/batched-bench.dir/progress.make
|
||||
|
||||
# Include the compile flags for this target's objects.
|
||||
include batched-bench/CMakeFiles/batched-bench.dir/flags.make
|
||||
|
||||
batched-bench/CMakeFiles/batched-bench.dir/batched-bench.o: batched-bench/CMakeFiles/batched-bench.dir/flags.make
|
||||
batched-bench/CMakeFiles/batched-bench.dir/batched-bench.o: ../batched-bench/batched-bench.cpp
|
||||
batched-bench/CMakeFiles/batched-bench.dir/batched-bench.o: batched-bench/CMakeFiles/batched-bench.dir/compiler_depend.ts
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/CMakeFiles --progress-num=$(CMAKE_PROGRESS_1) "Building CXX object batched-bench/CMakeFiles/batched-bench.dir/batched-bench.o"
|
||||
cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/batched-bench && /opt/intel/oneapi/compiler/2024.0/bin/icpx $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -MD -MT batched-bench/CMakeFiles/batched-bench.dir/batched-bench.o -MF CMakeFiles/batched-bench.dir/batched-bench.o.d -o CMakeFiles/batched-bench.dir/batched-bench.o -c /home/jianyuzh/ws/llama.cpp/develop/examples/batched-bench/batched-bench.cpp
|
||||
|
||||
batched-bench/CMakeFiles/batched-bench.dir/batched-bench.i: cmake_force
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/batched-bench.dir/batched-bench.i"
|
||||
cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/batched-bench && /opt/intel/oneapi/compiler/2024.0/bin/icpx $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /home/jianyuzh/ws/llama.cpp/develop/examples/batched-bench/batched-bench.cpp > CMakeFiles/batched-bench.dir/batched-bench.i
|
||||
|
||||
batched-bench/CMakeFiles/batched-bench.dir/batched-bench.s: cmake_force
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/batched-bench.dir/batched-bench.s"
|
||||
cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/batched-bench && /opt/intel/oneapi/compiler/2024.0/bin/icpx $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /home/jianyuzh/ws/llama.cpp/develop/examples/batched-bench/batched-bench.cpp -o CMakeFiles/batched-bench.dir/batched-bench.s
|
||||
|
||||
# Object files for target batched-bench
|
||||
batched__bench_OBJECTS = \
|
||||
"CMakeFiles/batched-bench.dir/batched-bench.o"
|
||||
|
||||
# External object files for target batched-bench
|
||||
batched__bench_EXTERNAL_OBJECTS =
|
||||
|
||||
batched-bench/batched-bench: batched-bench/CMakeFiles/batched-bench.dir/batched-bench.o
|
||||
batched-bench/batched-bench: batched-bench/CMakeFiles/batched-bench.dir/build.make
|
||||
batched-bench/batched-bench: batched-bench/CMakeFiles/batched-bench.dir/link.txt
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --bold --progress-dir=/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/CMakeFiles --progress-num=$(CMAKE_PROGRESS_2) "Linking CXX executable batched-bench"
|
||||
cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/batched-bench && $(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/batched-bench.dir/link.txt --verbose=$(VERBOSE)
|
||||
|
||||
# Rule to build all files generated by this target.
|
||||
batched-bench/CMakeFiles/batched-bench.dir/build: batched-bench/batched-bench
|
||||
.PHONY : batched-bench/CMakeFiles/batched-bench.dir/build
|
||||
|
||||
batched-bench/CMakeFiles/batched-bench.dir/clean:
|
||||
cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/batched-bench && $(CMAKE_COMMAND) -P CMakeFiles/batched-bench.dir/cmake_clean.cmake
|
||||
.PHONY : batched-bench/CMakeFiles/batched-bench.dir/clean
|
||||
|
||||
batched-bench/CMakeFiles/batched-bench.dir/depend:
|
||||
cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/jianyuzh/ws/llama.cpp/develop/examples /home/jianyuzh/ws/llama.cpp/develop/examples/batched-bench /home/jianyuzh/ws/llama.cpp/develop/examples/sycl /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/batched-bench /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/batched-bench/CMakeFiles/batched-bench.dir/DependInfo.cmake --color=$(COLOR)
|
||||
.PHONY : batched-bench/CMakeFiles/batched-bench.dir/depend
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
file(REMOVE_RECURSE
|
||||
"CMakeFiles/batched-bench.dir/batched-bench.o"
|
||||
"CMakeFiles/batched-bench.dir/batched-bench.o.d"
|
||||
"batched-bench"
|
||||
"batched-bench.pdb"
|
||||
)
|
||||
|
||||
# Per-language clean rules from dependency scanning.
|
||||
foreach(lang CXX)
|
||||
include(CMakeFiles/batched-bench.dir/cmake_clean_${lang}.cmake OPTIONAL)
|
||||
endforeach()
|
|
@ -0,0 +1,2 @@
|
|||
# Empty compiler generated dependencies file for batched-bench.
|
||||
# This may be replaced when dependencies are built.
|
|
@ -0,0 +1,2 @@
|
|||
# CMAKE generated file: DO NOT EDIT!
|
||||
# Timestamp file for compiler generated dependencies management for batched-bench.
|
|
@ -0,0 +1,2 @@
|
|||
# Empty dependencies file for batched-bench.
|
||||
# This may be replaced when dependencies are built.
|
|
@ -0,0 +1,10 @@
|
|||
# CMAKE generated file: DO NOT EDIT!
|
||||
# Generated by "Unix Makefiles" Generator, CMake Version 3.22
|
||||
|
||||
# compile CXX with /opt/intel/oneapi/compiler/2024.0/bin/icpx
|
||||
CXX_DEFINES =
|
||||
|
||||
CXX_INCLUDES = -I/home/jianyuzh/ws/llama.cpp/develop/examples
|
||||
|
||||
CXX_FLAGS =
|
||||
|
|
@ -0,0 +1 @@
|
|||
/opt/intel/oneapi/compiler/2024.0/bin/icpx -rdynamic CMakeFiles/batched-bench.dir/batched-bench.o -o batched-bench -lcommon -lllama
|
|
@ -0,0 +1,3 @@
|
|||
CMAKE_PROGRESS_1 = 5
|
||||
CMAKE_PROGRESS_2 = 6
|
||||
|
1
examples/sycl/batched-bench/CMakeFiles/progress.marks
Normal file
1
examples/sycl/batched-bench/CMakeFiles/progress.marks
Normal file
|
@ -0,0 +1 @@
|
|||
2
|
222
examples/sycl/batched-bench/Makefile
Normal file
222
examples/sycl/batched-bench/Makefile
Normal file
|
@ -0,0 +1,222 @@
|
|||
# CMAKE generated file: DO NOT EDIT!
|
||||
# Generated by "Unix Makefiles" Generator, CMake Version 3.22
|
||||
|
||||
# Default target executed when no arguments are given to make.
|
||||
default_target: all
|
||||
.PHONY : default_target
|
||||
|
||||
# Allow only one "make -f Makefile2" at a time, but pass parallelism.
|
||||
.NOTPARALLEL:
|
||||
|
||||
#=============================================================================
|
||||
# Special targets provided by cmake.
|
||||
|
||||
# Disable implicit rules so canonical targets will work.
|
||||
.SUFFIXES:
|
||||
|
||||
# Disable VCS-based implicit rules.
|
||||
% : %,v
|
||||
|
||||
# Disable VCS-based implicit rules.
|
||||
% : RCS/%
|
||||
|
||||
# Disable VCS-based implicit rules.
|
||||
% : RCS/%,v
|
||||
|
||||
# Disable VCS-based implicit rules.
|
||||
% : SCCS/s.%
|
||||
|
||||
# Disable VCS-based implicit rules.
|
||||
% : s.%
|
||||
|
||||
.SUFFIXES: .hpux_make_needs_suffix_list
|
||||
|
||||
# Command-line flag to silence nested $(MAKE).
|
||||
$(VERBOSE)MAKESILENT = -s
|
||||
|
||||
#Suppress display of executed commands.
|
||||
$(VERBOSE).SILENT:
|
||||
|
||||
# A target that is always out of date.
|
||||
cmake_force:
|
||||
.PHONY : cmake_force
|
||||
|
||||
#=============================================================================
|
||||
# Set environment variables for the build.
|
||||
|
||||
# The shell in which to execute make rules.
|
||||
SHELL = /bin/sh
|
||||
|
||||
# The CMake executable.
|
||||
CMAKE_COMMAND = /usr/bin/cmake
|
||||
|
||||
# The command to remove a file.
|
||||
RM = /usr/bin/cmake -E rm -f
|
||||
|
||||
# Escaping for special characters.
|
||||
EQUALS = =
|
||||
|
||||
# The top-level source directory on which CMake was run.
|
||||
CMAKE_SOURCE_DIR = /home/jianyuzh/ws/llama.cpp/develop/examples
|
||||
|
||||
# The top-level build directory on which CMake was run.
|
||||
CMAKE_BINARY_DIR = /home/jianyuzh/ws/llama.cpp/develop/examples/sycl
|
||||
|
||||
#=============================================================================
|
||||
# Targets provided globally by CMake.
|
||||
|
||||
# Special rule for the target edit_cache
|
||||
edit_cache:
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "No interactive CMake dialog available..."
|
||||
/usr/bin/cmake -E echo No\ interactive\ CMake\ dialog\ available.
|
||||
.PHONY : edit_cache
|
||||
|
||||
# Special rule for the target edit_cache
|
||||
edit_cache/fast: edit_cache
|
||||
.PHONY : edit_cache/fast
|
||||
|
||||
# Special rule for the target rebuild_cache
|
||||
rebuild_cache:
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..."
|
||||
/usr/bin/cmake --regenerate-during-build -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
|
||||
.PHONY : rebuild_cache
|
||||
|
||||
# Special rule for the target rebuild_cache
|
||||
rebuild_cache/fast: rebuild_cache
|
||||
.PHONY : rebuild_cache/fast
|
||||
|
||||
# Special rule for the target list_install_components
|
||||
list_install_components:
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\""
|
||||
.PHONY : list_install_components
|
||||
|
||||
# Special rule for the target list_install_components
|
||||
list_install_components/fast: list_install_components
|
||||
.PHONY : list_install_components/fast
|
||||
|
||||
# Special rule for the target install
|
||||
install: preinstall
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..."
|
||||
/usr/bin/cmake -P cmake_install.cmake
|
||||
.PHONY : install
|
||||
|
||||
# Special rule for the target install
|
||||
install/fast: preinstall/fast
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..."
|
||||
/usr/bin/cmake -P cmake_install.cmake
|
||||
.PHONY : install/fast
|
||||
|
||||
# Special rule for the target install/local
|
||||
install/local: preinstall
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..."
|
||||
/usr/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake
|
||||
.PHONY : install/local
|
||||
|
||||
# Special rule for the target install/local
|
||||
install/local/fast: preinstall/fast
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..."
|
||||
/usr/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake
|
||||
.PHONY : install/local/fast
|
||||
|
||||
# Special rule for the target install/strip
|
||||
install/strip: preinstall
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..."
|
||||
/usr/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake
|
||||
.PHONY : install/strip
|
||||
|
||||
# Special rule for the target install/strip
|
||||
install/strip/fast: preinstall/fast
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..."
|
||||
/usr/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake
|
||||
.PHONY : install/strip/fast
|
||||
|
||||
# The main all target
|
||||
all: cmake_check_build_system
|
||||
cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(CMAKE_COMMAND) -E cmake_progress_start /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/CMakeFiles /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/batched-bench//CMakeFiles/progress.marks
|
||||
cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 batched-bench/all
|
||||
$(CMAKE_COMMAND) -E cmake_progress_start /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/CMakeFiles 0
|
||||
.PHONY : all
|
||||
|
||||
# The main clean target
|
||||
clean:
|
||||
cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 batched-bench/clean
|
||||
.PHONY : clean
|
||||
|
||||
# The main clean target
|
||||
clean/fast: clean
|
||||
.PHONY : clean/fast
|
||||
|
||||
# Prepare targets for installation.
|
||||
preinstall: all
|
||||
cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 batched-bench/preinstall
|
||||
.PHONY : preinstall
|
||||
|
||||
# Prepare targets for installation.
|
||||
preinstall/fast:
|
||||
cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 batched-bench/preinstall
|
||||
.PHONY : preinstall/fast
|
||||
|
||||
# clear depends
|
||||
depend:
|
||||
cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(CMAKE_COMMAND) -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1
|
||||
.PHONY : depend
|
||||
|
||||
# Convenience name for target.
|
||||
batched-bench/CMakeFiles/batched-bench.dir/rule:
|
||||
cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 batched-bench/CMakeFiles/batched-bench.dir/rule
|
||||
.PHONY : batched-bench/CMakeFiles/batched-bench.dir/rule
|
||||
|
||||
# Convenience name for target.
|
||||
batched-bench: batched-bench/CMakeFiles/batched-bench.dir/rule
|
||||
.PHONY : batched-bench
|
||||
|
||||
# fast build rule for target.
|
||||
batched-bench/fast:
|
||||
cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f batched-bench/CMakeFiles/batched-bench.dir/build.make batched-bench/CMakeFiles/batched-bench.dir/build
|
||||
.PHONY : batched-bench/fast
|
||||
|
||||
# target to build an object file
|
||||
batched-bench.o:
|
||||
cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f batched-bench/CMakeFiles/batched-bench.dir/build.make batched-bench/CMakeFiles/batched-bench.dir/batched-bench.o
|
||||
.PHONY : batched-bench.o
|
||||
|
||||
# target to preprocess a source file
|
||||
batched-bench.i:
|
||||
cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f batched-bench/CMakeFiles/batched-bench.dir/build.make batched-bench/CMakeFiles/batched-bench.dir/batched-bench.i
|
||||
.PHONY : batched-bench.i
|
||||
|
||||
# target to generate assembly for a file
|
||||
batched-bench.s:
|
||||
cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f batched-bench/CMakeFiles/batched-bench.dir/build.make batched-bench/CMakeFiles/batched-bench.dir/batched-bench.s
|
||||
.PHONY : batched-bench.s
|
||||
|
||||
# Help Target
|
||||
help:
|
||||
@echo "The following are some of the valid targets for this Makefile:"
|
||||
@echo "... all (the default if no target is provided)"
|
||||
@echo "... clean"
|
||||
@echo "... depend"
|
||||
@echo "... edit_cache"
|
||||
@echo "... install"
|
||||
@echo "... install/local"
|
||||
@echo "... install/strip"
|
||||
@echo "... list_install_components"
|
||||
@echo "... rebuild_cache"
|
||||
@echo "... batched-bench"
|
||||
@echo "... batched-bench.o"
|
||||
@echo "... batched-bench.i"
|
||||
@echo "... batched-bench.s"
|
||||
.PHONY : help
|
||||
|
||||
|
||||
|
||||
#=============================================================================
|
||||
# Special targets to cleanup operation of make.
|
||||
|
||||
# Special rule to run CMake to check the build system integrity.
|
||||
# No rule that depends on this can have commands that come from listfiles
|
||||
# because they might be regenerated.
|
||||
cmake_check_build_system:
|
||||
cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(CMAKE_COMMAND) -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0
|
||||
.PHONY : cmake_check_build_system
|
||||
|
60
examples/sycl/batched-bench/cmake_install.cmake
Normal file
60
examples/sycl/batched-bench/cmake_install.cmake
Normal file
|
@ -0,0 +1,60 @@
|
|||
# Install script for directory: /home/jianyuzh/ws/llama.cpp/develop/examples/batched-bench
|
||||
|
||||
# Set the install prefix
|
||||
if(NOT DEFINED CMAKE_INSTALL_PREFIX)
|
||||
set(CMAKE_INSTALL_PREFIX "/usr/local")
|
||||
endif()
|
||||
string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}")
|
||||
|
||||
# Set the install configuration name.
|
||||
if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME)
|
||||
if(BUILD_TYPE)
|
||||
string(REGEX REPLACE "^[^A-Za-z0-9_]+" ""
|
||||
CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}")
|
||||
else()
|
||||
set(CMAKE_INSTALL_CONFIG_NAME "")
|
||||
endif()
|
||||
message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"")
|
||||
endif()
|
||||
|
||||
# Set the component getting installed.
|
||||
if(NOT CMAKE_INSTALL_COMPONENT)
|
||||
if(COMPONENT)
|
||||
message(STATUS "Install component: \"${COMPONENT}\"")
|
||||
set(CMAKE_INSTALL_COMPONENT "${COMPONENT}")
|
||||
else()
|
||||
set(CMAKE_INSTALL_COMPONENT)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
# Install shared libraries without execute permission?
|
||||
if(NOT DEFINED CMAKE_INSTALL_SO_NO_EXE)
|
||||
set(CMAKE_INSTALL_SO_NO_EXE "1")
|
||||
endif()
|
||||
|
||||
# Is this installation the result of a crosscompile?
|
||||
if(NOT DEFINED CMAKE_CROSSCOMPILING)
|
||||
set(CMAKE_CROSSCOMPILING "FALSE")
|
||||
endif()
|
||||
|
||||
# Set default install directory permissions.
|
||||
if(NOT DEFINED CMAKE_OBJDUMP)
|
||||
set(CMAKE_OBJDUMP "/usr/bin/objdump")
|
||||
endif()
|
||||
|
||||
if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT)
|
||||
if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/batched-bench" AND
|
||||
NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/batched-bench")
|
||||
file(RPATH_CHECK
|
||||
FILE "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/batched-bench"
|
||||
RPATH "")
|
||||
endif()
|
||||
file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/bin" TYPE EXECUTABLE FILES "/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/batched-bench/batched-bench")
|
||||
if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/batched-bench" AND
|
||||
NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/batched-bench")
|
||||
if(CMAKE_INSTALL_DO_STRIP)
|
||||
execute_process(COMMAND "/usr/bin/strip" "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/batched-bench")
|
||||
endif()
|
||||
endif()
|
||||
endif()
|
||||
|
|
@ -0,0 +1,16 @@
|
|||
# CMAKE generated file: DO NOT EDIT!
|
||||
# Generated by "Unix Makefiles" Generator, CMake Version 3.22
|
||||
|
||||
# Relative path conversion top directories.
|
||||
set(CMAKE_RELATIVE_PATH_TOP_SOURCE "/home/jianyuzh/ws/llama.cpp/develop/examples")
|
||||
set(CMAKE_RELATIVE_PATH_TOP_BINARY "/home/jianyuzh/ws/llama.cpp/develop/examples/sycl")
|
||||
|
||||
# Force unix paths in dependencies.
|
||||
set(CMAKE_FORCE_UNIX_PATHS 1)
|
||||
|
||||
|
||||
# The C and CXX include file regular expressions for this directory.
|
||||
set(CMAKE_C_INCLUDE_REGEX_SCAN "^.*$")
|
||||
set(CMAKE_C_INCLUDE_REGEX_COMPLAIN "^$")
|
||||
set(CMAKE_CXX_INCLUDE_REGEX_SCAN ${CMAKE_C_INCLUDE_REGEX_SCAN})
|
||||
set(CMAKE_CXX_INCLUDE_REGEX_COMPLAIN ${CMAKE_C_INCLUDE_REGEX_COMPLAIN})
|
|
@ -0,0 +1,19 @@
|
|||
|
||||
# Consider dependencies only in project.
|
||||
set(CMAKE_DEPENDS_IN_PROJECT_ONLY OFF)
|
||||
|
||||
# The set of languages for which implicit dependencies are needed:
|
||||
set(CMAKE_DEPENDS_LANGUAGES
|
||||
)
|
||||
|
||||
# The set of dependency files which are needed:
|
||||
set(CMAKE_DEPENDS_DEPENDENCY_FILES
|
||||
"/home/jianyuzh/ws/llama.cpp/develop/examples/batched/batched.cpp" "batched/CMakeFiles/batched.dir/batched.o" "gcc" "batched/CMakeFiles/batched.dir/batched.o.d"
|
||||
)
|
||||
|
||||
# Targets to which this target links.
|
||||
set(CMAKE_TARGET_LINKED_INFO_FILES
|
||||
)
|
||||
|
||||
# Fortran module output directory.
|
||||
set(CMAKE_Fortran_TARGET_MODULE_DIR "")
|
110
examples/sycl/batched/CMakeFiles/batched.dir/build.make
Normal file
110
examples/sycl/batched/CMakeFiles/batched.dir/build.make
Normal file
|
@ -0,0 +1,110 @@
|
|||
# CMAKE generated file: DO NOT EDIT!
|
||||
# Generated by "Unix Makefiles" Generator, CMake Version 3.22
|
||||
|
||||
# Delete rule output on recipe failure.
|
||||
.DELETE_ON_ERROR:
|
||||
|
||||
#=============================================================================
|
||||
# Special targets provided by cmake.
|
||||
|
||||
# Disable implicit rules so canonical targets will work.
|
||||
.SUFFIXES:
|
||||
|
||||
# Disable VCS-based implicit rules.
|
||||
% : %,v
|
||||
|
||||
# Disable VCS-based implicit rules.
|
||||
% : RCS/%
|
||||
|
||||
# Disable VCS-based implicit rules.
|
||||
% : RCS/%,v
|
||||
|
||||
# Disable VCS-based implicit rules.
|
||||
% : SCCS/s.%
|
||||
|
||||
# Disable VCS-based implicit rules.
|
||||
% : s.%
|
||||
|
||||
.SUFFIXES: .hpux_make_needs_suffix_list
|
||||
|
||||
# Command-line flag to silence nested $(MAKE).
|
||||
$(VERBOSE)MAKESILENT = -s
|
||||
|
||||
#Suppress display of executed commands.
|
||||
$(VERBOSE).SILENT:
|
||||
|
||||
# A target that is always out of date.
|
||||
cmake_force:
|
||||
.PHONY : cmake_force
|
||||
|
||||
#=============================================================================
|
||||
# Set environment variables for the build.
|
||||
|
||||
# The shell in which to execute make rules.
|
||||
SHELL = /bin/sh
|
||||
|
||||
# The CMake executable.
|
||||
CMAKE_COMMAND = /usr/bin/cmake
|
||||
|
||||
# The command to remove a file.
|
||||
RM = /usr/bin/cmake -E rm -f
|
||||
|
||||
# Escaping for special characters.
|
||||
EQUALS = =
|
||||
|
||||
# The top-level source directory on which CMake was run.
|
||||
CMAKE_SOURCE_DIR = /home/jianyuzh/ws/llama.cpp/develop/examples
|
||||
|
||||
# The top-level build directory on which CMake was run.
|
||||
CMAKE_BINARY_DIR = /home/jianyuzh/ws/llama.cpp/develop/examples/sycl
|
||||
|
||||
# Include any dependencies generated for this target.
|
||||
include batched/CMakeFiles/batched.dir/depend.make
|
||||
# Include any dependencies generated by the compiler for this target.
|
||||
include batched/CMakeFiles/batched.dir/compiler_depend.make
|
||||
|
||||
# Include the progress variables for this target.
|
||||
include batched/CMakeFiles/batched.dir/progress.make
|
||||
|
||||
# Include the compile flags for this target's objects.
|
||||
include batched/CMakeFiles/batched.dir/flags.make
|
||||
|
||||
batched/CMakeFiles/batched.dir/batched.o: batched/CMakeFiles/batched.dir/flags.make
|
||||
batched/CMakeFiles/batched.dir/batched.o: ../batched/batched.cpp
|
||||
batched/CMakeFiles/batched.dir/batched.o: batched/CMakeFiles/batched.dir/compiler_depend.ts
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/CMakeFiles --progress-num=$(CMAKE_PROGRESS_1) "Building CXX object batched/CMakeFiles/batched.dir/batched.o"
|
||||
cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/batched && /opt/intel/oneapi/compiler/2024.0/bin/icpx $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -MD -MT batched/CMakeFiles/batched.dir/batched.o -MF CMakeFiles/batched.dir/batched.o.d -o CMakeFiles/batched.dir/batched.o -c /home/jianyuzh/ws/llama.cpp/develop/examples/batched/batched.cpp
|
||||
|
||||
batched/CMakeFiles/batched.dir/batched.i: cmake_force
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/batched.dir/batched.i"
|
||||
cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/batched && /opt/intel/oneapi/compiler/2024.0/bin/icpx $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /home/jianyuzh/ws/llama.cpp/develop/examples/batched/batched.cpp > CMakeFiles/batched.dir/batched.i
|
||||
|
||||
batched/CMakeFiles/batched.dir/batched.s: cmake_force
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/batched.dir/batched.s"
|
||||
cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/batched && /opt/intel/oneapi/compiler/2024.0/bin/icpx $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /home/jianyuzh/ws/llama.cpp/develop/examples/batched/batched.cpp -o CMakeFiles/batched.dir/batched.s
|
||||
|
||||
# Object files for target batched
|
||||
batched_OBJECTS = \
|
||||
"CMakeFiles/batched.dir/batched.o"
|
||||
|
||||
# External object files for target batched
|
||||
batched_EXTERNAL_OBJECTS =
|
||||
|
||||
batched/batched: batched/CMakeFiles/batched.dir/batched.o
|
||||
batched/batched: batched/CMakeFiles/batched.dir/build.make
|
||||
batched/batched: batched/CMakeFiles/batched.dir/link.txt
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --bold --progress-dir=/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/CMakeFiles --progress-num=$(CMAKE_PROGRESS_2) "Linking CXX executable batched"
|
||||
cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/batched && $(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/batched.dir/link.txt --verbose=$(VERBOSE)
|
||||
|
||||
# Rule to build all files generated by this target.
|
||||
batched/CMakeFiles/batched.dir/build: batched/batched
|
||||
.PHONY : batched/CMakeFiles/batched.dir/build
|
||||
|
||||
batched/CMakeFiles/batched.dir/clean:
|
||||
cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/batched && $(CMAKE_COMMAND) -P CMakeFiles/batched.dir/cmake_clean.cmake
|
||||
.PHONY : batched/CMakeFiles/batched.dir/clean
|
||||
|
||||
batched/CMakeFiles/batched.dir/depend:
|
||||
cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/jianyuzh/ws/llama.cpp/develop/examples /home/jianyuzh/ws/llama.cpp/develop/examples/batched /home/jianyuzh/ws/llama.cpp/develop/examples/sycl /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/batched /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/batched/CMakeFiles/batched.dir/DependInfo.cmake --color=$(COLOR)
|
||||
.PHONY : batched/CMakeFiles/batched.dir/depend
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
file(REMOVE_RECURSE
|
||||
"CMakeFiles/batched.dir/batched.o"
|
||||
"CMakeFiles/batched.dir/batched.o.d"
|
||||
"batched"
|
||||
"batched.pdb"
|
||||
)
|
||||
|
||||
# Per-language clean rules from dependency scanning.
|
||||
foreach(lang CXX)
|
||||
include(CMakeFiles/batched.dir/cmake_clean_${lang}.cmake OPTIONAL)
|
||||
endforeach()
|
|
@ -0,0 +1,2 @@
|
|||
# Empty compiler generated dependencies file for batched.
|
||||
# This may be replaced when dependencies are built.
|
|
@ -0,0 +1,2 @@
|
|||
# CMAKE generated file: DO NOT EDIT!
|
||||
# Timestamp file for compiler generated dependencies management for batched.
|
2
examples/sycl/batched/CMakeFiles/batched.dir/depend.make
Normal file
2
examples/sycl/batched/CMakeFiles/batched.dir/depend.make
Normal file
|
@ -0,0 +1,2 @@
|
|||
# Empty dependencies file for batched.
|
||||
# This may be replaced when dependencies are built.
|
10
examples/sycl/batched/CMakeFiles/batched.dir/flags.make
Normal file
10
examples/sycl/batched/CMakeFiles/batched.dir/flags.make
Normal file
|
@ -0,0 +1,10 @@
|
|||
# CMAKE generated file: DO NOT EDIT!
|
||||
# Generated by "Unix Makefiles" Generator, CMake Version 3.22
|
||||
|
||||
# compile CXX with /opt/intel/oneapi/compiler/2024.0/bin/icpx
|
||||
CXX_DEFINES =
|
||||
|
||||
CXX_INCLUDES = -I/home/jianyuzh/ws/llama.cpp/develop/examples
|
||||
|
||||
CXX_FLAGS =
|
||||
|
1
examples/sycl/batched/CMakeFiles/batched.dir/link.txt
Normal file
1
examples/sycl/batched/CMakeFiles/batched.dir/link.txt
Normal file
|
@ -0,0 +1 @@
|
|||
/opt/intel/oneapi/compiler/2024.0/bin/icpx -rdynamic CMakeFiles/batched.dir/batched.o -o batched -lcommon -lllama
|
|
@ -0,0 +1,3 @@
|
|||
CMAKE_PROGRESS_1 = 3
|
||||
CMAKE_PROGRESS_2 = 4
|
||||
|
1
examples/sycl/batched/CMakeFiles/progress.marks
Normal file
1
examples/sycl/batched/CMakeFiles/progress.marks
Normal file
|
@ -0,0 +1 @@
|
|||
2
|
222
examples/sycl/batched/Makefile
Normal file
222
examples/sycl/batched/Makefile
Normal file
|
@ -0,0 +1,222 @@
|
|||
# CMAKE generated file: DO NOT EDIT!
|
||||
# Generated by "Unix Makefiles" Generator, CMake Version 3.22
|
||||
|
||||
# Default target executed when no arguments are given to make.
|
||||
default_target: all
|
||||
.PHONY : default_target
|
||||
|
||||
# Allow only one "make -f Makefile2" at a time, but pass parallelism.
|
||||
.NOTPARALLEL:
|
||||
|
||||
#=============================================================================
|
||||
# Special targets provided by cmake.
|
||||
|
||||
# Disable implicit rules so canonical targets will work.
|
||||
.SUFFIXES:
|
||||
|
||||
# Disable VCS-based implicit rules.
|
||||
% : %,v
|
||||
|
||||
# Disable VCS-based implicit rules.
|
||||
% : RCS/%
|
||||
|
||||
# Disable VCS-based implicit rules.
|
||||
% : RCS/%,v
|
||||
|
||||
# Disable VCS-based implicit rules.
|
||||
% : SCCS/s.%
|
||||
|
||||
# Disable VCS-based implicit rules.
|
||||
% : s.%
|
||||
|
||||
.SUFFIXES: .hpux_make_needs_suffix_list
|
||||
|
||||
# Command-line flag to silence nested $(MAKE).
|
||||
$(VERBOSE)MAKESILENT = -s
|
||||
|
||||
#Suppress display of executed commands.
|
||||
$(VERBOSE).SILENT:
|
||||
|
||||
# A target that is always out of date.
|
||||
cmake_force:
|
||||
.PHONY : cmake_force
|
||||
|
||||
#=============================================================================
|
||||
# Set environment variables for the build.
|
||||
|
||||
# The shell in which to execute make rules.
|
||||
SHELL = /bin/sh
|
||||
|
||||
# The CMake executable.
|
||||
CMAKE_COMMAND = /usr/bin/cmake
|
||||
|
||||
# The command to remove a file.
|
||||
RM = /usr/bin/cmake -E rm -f
|
||||
|
||||
# Escaping for special characters.
|
||||
EQUALS = =
|
||||
|
||||
# The top-level source directory on which CMake was run.
|
||||
CMAKE_SOURCE_DIR = /home/jianyuzh/ws/llama.cpp/develop/examples
|
||||
|
||||
# The top-level build directory on which CMake was run.
|
||||
CMAKE_BINARY_DIR = /home/jianyuzh/ws/llama.cpp/develop/examples/sycl
|
||||
|
||||
#=============================================================================
|
||||
# Targets provided globally by CMake.
|
||||
|
||||
# Special rule for the target edit_cache
|
||||
edit_cache:
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "No interactive CMake dialog available..."
|
||||
/usr/bin/cmake -E echo No\ interactive\ CMake\ dialog\ available.
|
||||
.PHONY : edit_cache
|
||||
|
||||
# Special rule for the target edit_cache
|
||||
edit_cache/fast: edit_cache
|
||||
.PHONY : edit_cache/fast
|
||||
|
||||
# Special rule for the target rebuild_cache
|
||||
rebuild_cache:
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..."
|
||||
/usr/bin/cmake --regenerate-during-build -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
|
||||
.PHONY : rebuild_cache
|
||||
|
||||
# Special rule for the target rebuild_cache
|
||||
rebuild_cache/fast: rebuild_cache
|
||||
.PHONY : rebuild_cache/fast
|
||||
|
||||
# Special rule for the target list_install_components
|
||||
list_install_components:
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\""
|
||||
.PHONY : list_install_components
|
||||
|
||||
# Special rule for the target list_install_components
|
||||
list_install_components/fast: list_install_components
|
||||
.PHONY : list_install_components/fast
|
||||
|
||||
# Special rule for the target install
|
||||
install: preinstall
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..."
|
||||
/usr/bin/cmake -P cmake_install.cmake
|
||||
.PHONY : install
|
||||
|
||||
# Special rule for the target install
|
||||
install/fast: preinstall/fast
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..."
|
||||
/usr/bin/cmake -P cmake_install.cmake
|
||||
.PHONY : install/fast
|
||||
|
||||
# Special rule for the target install/local
|
||||
install/local: preinstall
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..."
|
||||
/usr/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake
|
||||
.PHONY : install/local
|
||||
|
||||
# Special rule for the target install/local
|
||||
install/local/fast: preinstall/fast
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..."
|
||||
/usr/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake
|
||||
.PHONY : install/local/fast
|
||||
|
||||
# Special rule for the target install/strip
|
||||
install/strip: preinstall
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..."
|
||||
/usr/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake
|
||||
.PHONY : install/strip
|
||||
|
||||
# Special rule for the target install/strip
|
||||
install/strip/fast: preinstall/fast
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..."
|
||||
/usr/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake
|
||||
.PHONY : install/strip/fast
|
||||
|
||||
# The main all target
|
||||
all: cmake_check_build_system
|
||||
cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(CMAKE_COMMAND) -E cmake_progress_start /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/CMakeFiles /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/batched//CMakeFiles/progress.marks
|
||||
cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 batched/all
|
||||
$(CMAKE_COMMAND) -E cmake_progress_start /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/CMakeFiles 0
|
||||
.PHONY : all
|
||||
|
||||
# The main clean target
|
||||
clean:
|
||||
cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 batched/clean
|
||||
.PHONY : clean
|
||||
|
||||
# The main clean target
|
||||
clean/fast: clean
|
||||
.PHONY : clean/fast
|
||||
|
||||
# Prepare targets for installation.
|
||||
preinstall: all
|
||||
cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 batched/preinstall
|
||||
.PHONY : preinstall
|
||||
|
||||
# Prepare targets for installation.
|
||||
preinstall/fast:
|
||||
cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 batched/preinstall
|
||||
.PHONY : preinstall/fast
|
||||
|
||||
# clear depends
|
||||
depend:
|
||||
cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(CMAKE_COMMAND) -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1
|
||||
.PHONY : depend
|
||||
|
||||
# Convenience name for target.
|
||||
batched/CMakeFiles/batched.dir/rule:
|
||||
cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 batched/CMakeFiles/batched.dir/rule
|
||||
.PHONY : batched/CMakeFiles/batched.dir/rule
|
||||
|
||||
# Convenience name for target.
|
||||
batched: batched/CMakeFiles/batched.dir/rule
|
||||
.PHONY : batched
|
||||
|
||||
# fast build rule for target.
|
||||
batched/fast:
|
||||
cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f batched/CMakeFiles/batched.dir/build.make batched/CMakeFiles/batched.dir/build
|
||||
.PHONY : batched/fast
|
||||
|
||||
# target to build an object file
|
||||
batched.o:
|
||||
cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f batched/CMakeFiles/batched.dir/build.make batched/CMakeFiles/batched.dir/batched.o
|
||||
.PHONY : batched.o
|
||||
|
||||
# target to preprocess a source file
|
||||
batched.i:
|
||||
cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f batched/CMakeFiles/batched.dir/build.make batched/CMakeFiles/batched.dir/batched.i
|
||||
.PHONY : batched.i
|
||||
|
||||
# target to generate assembly for a file
|
||||
batched.s:
|
||||
cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f batched/CMakeFiles/batched.dir/build.make batched/CMakeFiles/batched.dir/batched.s
|
||||
.PHONY : batched.s
|
||||
|
||||
# Help Target
|
||||
help:
|
||||
@echo "The following are some of the valid targets for this Makefile:"
|
||||
@echo "... all (the default if no target is provided)"
|
||||
@echo "... clean"
|
||||
@echo "... depend"
|
||||
@echo "... edit_cache"
|
||||
@echo "... install"
|
||||
@echo "... install/local"
|
||||
@echo "... install/strip"
|
||||
@echo "... list_install_components"
|
||||
@echo "... rebuild_cache"
|
||||
@echo "... batched"
|
||||
@echo "... batched.o"
|
||||
@echo "... batched.i"
|
||||
@echo "... batched.s"
|
||||
.PHONY : help
|
||||
|
||||
|
||||
|
||||
#=============================================================================
|
||||
# Special targets to cleanup operation of make.
|
||||
|
||||
# Special rule to run CMake to check the build system integrity.
|
||||
# No rule that depends on this can have commands that come from listfiles
|
||||
# because they might be regenerated.
|
||||
cmake_check_build_system:
|
||||
cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(CMAKE_COMMAND) -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0
|
||||
.PHONY : cmake_check_build_system
|
||||
|
60
examples/sycl/batched/cmake_install.cmake
Normal file
60
examples/sycl/batched/cmake_install.cmake
Normal file
|
@ -0,0 +1,60 @@
|
|||
# Install script for directory: /home/jianyuzh/ws/llama.cpp/develop/examples/batched
|
||||
|
||||
# Set the install prefix
|
||||
if(NOT DEFINED CMAKE_INSTALL_PREFIX)
|
||||
set(CMAKE_INSTALL_PREFIX "/usr/local")
|
||||
endif()
|
||||
string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}")
|
||||
|
||||
# Set the install configuration name.
|
||||
if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME)
|
||||
if(BUILD_TYPE)
|
||||
string(REGEX REPLACE "^[^A-Za-z0-9_]+" ""
|
||||
CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}")
|
||||
else()
|
||||
set(CMAKE_INSTALL_CONFIG_NAME "")
|
||||
endif()
|
||||
message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"")
|
||||
endif()
|
||||
|
||||
# Set the component getting installed.
|
||||
if(NOT CMAKE_INSTALL_COMPONENT)
|
||||
if(COMPONENT)
|
||||
message(STATUS "Install component: \"${COMPONENT}\"")
|
||||
set(CMAKE_INSTALL_COMPONENT "${COMPONENT}")
|
||||
else()
|
||||
set(CMAKE_INSTALL_COMPONENT)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
# Install shared libraries without execute permission?
|
||||
if(NOT DEFINED CMAKE_INSTALL_SO_NO_EXE)
|
||||
set(CMAKE_INSTALL_SO_NO_EXE "1")
|
||||
endif()
|
||||
|
||||
# Is this installation the result of a crosscompile?
|
||||
if(NOT DEFINED CMAKE_CROSSCOMPILING)
|
||||
set(CMAKE_CROSSCOMPILING "FALSE")
|
||||
endif()
|
||||
|
||||
# Set default install directory permissions.
|
||||
if(NOT DEFINED CMAKE_OBJDUMP)
|
||||
set(CMAKE_OBJDUMP "/usr/bin/objdump")
|
||||
endif()
|
||||
|
||||
if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT)
|
||||
if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/batched" AND
|
||||
NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/batched")
|
||||
file(RPATH_CHECK
|
||||
FILE "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/batched"
|
||||
RPATH "")
|
||||
endif()
|
||||
file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/bin" TYPE EXECUTABLE FILES "/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/batched/batched")
|
||||
if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/batched" AND
|
||||
NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/batched")
|
||||
if(CMAKE_INSTALL_DO_STRIP)
|
||||
execute_process(COMMAND "/usr/bin/strip" "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/batched")
|
||||
endif()
|
||||
endif()
|
||||
endif()
|
||||
|
|
@ -0,0 +1,16 @@
|
|||
# CMAKE generated file: DO NOT EDIT!
|
||||
# Generated by "Unix Makefiles" Generator, CMake Version 3.22
|
||||
|
||||
# Relative path conversion top directories.
|
||||
set(CMAKE_RELATIVE_PATH_TOP_SOURCE "/home/jianyuzh/ws/llama.cpp/develop/examples")
|
||||
set(CMAKE_RELATIVE_PATH_TOP_BINARY "/home/jianyuzh/ws/llama.cpp/develop/examples/sycl")
|
||||
|
||||
# Force unix paths in dependencies.
|
||||
set(CMAKE_FORCE_UNIX_PATHS 1)
|
||||
|
||||
|
||||
# The C and CXX include file regular expressions for this directory.
|
||||
set(CMAKE_C_INCLUDE_REGEX_SCAN "^.*$")
|
||||
set(CMAKE_C_INCLUDE_REGEX_COMPLAIN "^$")
|
||||
set(CMAKE_CXX_INCLUDE_REGEX_SCAN ${CMAKE_C_INCLUDE_REGEX_SCAN})
|
||||
set(CMAKE_CXX_INCLUDE_REGEX_COMPLAIN ${CMAKE_C_INCLUDE_REGEX_COMPLAIN})
|
|
@ -0,0 +1,19 @@
|
|||
|
||||
# Consider dependencies only in project.
|
||||
set(CMAKE_DEPENDS_IN_PROJECT_ONLY OFF)
|
||||
|
||||
# The set of languages for which implicit dependencies are needed:
|
||||
set(CMAKE_DEPENDS_LANGUAGES
|
||||
)
|
||||
|
||||
# The set of dependency files which are needed:
|
||||
set(CMAKE_DEPENDS_DEPENDENCY_FILES
|
||||
"/home/jianyuzh/ws/llama.cpp/develop/examples/beam-search/beam-search.cpp" "beam-search/CMakeFiles/beam-search.dir/beam-search.o" "gcc" "beam-search/CMakeFiles/beam-search.dir/beam-search.o.d"
|
||||
)
|
||||
|
||||
# Targets to which this target links.
|
||||
set(CMAKE_TARGET_LINKED_INFO_FILES
|
||||
)
|
||||
|
||||
# Fortran module output directory.
|
||||
set(CMAKE_Fortran_TARGET_MODULE_DIR "")
|
110
examples/sycl/beam-search/CMakeFiles/beam-search.dir/build.make
Normal file
110
examples/sycl/beam-search/CMakeFiles/beam-search.dir/build.make
Normal file
|
@ -0,0 +1,110 @@
|
|||
# CMAKE generated file: DO NOT EDIT!
|
||||
# Generated by "Unix Makefiles" Generator, CMake Version 3.22
|
||||
|
||||
# Delete rule output on recipe failure.
|
||||
.DELETE_ON_ERROR:
|
||||
|
||||
#=============================================================================
|
||||
# Special targets provided by cmake.
|
||||
|
||||
# Disable implicit rules so canonical targets will work.
|
||||
.SUFFIXES:
|
||||
|
||||
# Disable VCS-based implicit rules.
|
||||
% : %,v
|
||||
|
||||
# Disable VCS-based implicit rules.
|
||||
% : RCS/%
|
||||
|
||||
# Disable VCS-based implicit rules.
|
||||
% : RCS/%,v
|
||||
|
||||
# Disable VCS-based implicit rules.
|
||||
% : SCCS/s.%
|
||||
|
||||
# Disable VCS-based implicit rules.
|
||||
% : s.%
|
||||
|
||||
.SUFFIXES: .hpux_make_needs_suffix_list
|
||||
|
||||
# Command-line flag to silence nested $(MAKE).
|
||||
$(VERBOSE)MAKESILENT = -s
|
||||
|
||||
#Suppress display of executed commands.
|
||||
$(VERBOSE).SILENT:
|
||||
|
||||
# A target that is always out of date.
|
||||
cmake_force:
|
||||
.PHONY : cmake_force
|
||||
|
||||
#=============================================================================
|
||||
# Set environment variables for the build.
|
||||
|
||||
# The shell in which to execute make rules.
|
||||
SHELL = /bin/sh
|
||||
|
||||
# The CMake executable.
|
||||
CMAKE_COMMAND = /usr/bin/cmake
|
||||
|
||||
# The command to remove a file.
|
||||
RM = /usr/bin/cmake -E rm -f
|
||||
|
||||
# Escaping for special characters.
|
||||
EQUALS = =
|
||||
|
||||
# The top-level source directory on which CMake was run.
|
||||
CMAKE_SOURCE_DIR = /home/jianyuzh/ws/llama.cpp/develop/examples
|
||||
|
||||
# The top-level build directory on which CMake was run.
|
||||
CMAKE_BINARY_DIR = /home/jianyuzh/ws/llama.cpp/develop/examples/sycl
|
||||
|
||||
# Include any dependencies generated for this target.
|
||||
include beam-search/CMakeFiles/beam-search.dir/depend.make
|
||||
# Include any dependencies generated by the compiler for this target.
|
||||
include beam-search/CMakeFiles/beam-search.dir/compiler_depend.make
|
||||
|
||||
# Include the progress variables for this target.
|
||||
include beam-search/CMakeFiles/beam-search.dir/progress.make
|
||||
|
||||
# Include the compile flags for this target's objects.
|
||||
include beam-search/CMakeFiles/beam-search.dir/flags.make
|
||||
|
||||
beam-search/CMakeFiles/beam-search.dir/beam-search.o: beam-search/CMakeFiles/beam-search.dir/flags.make
|
||||
beam-search/CMakeFiles/beam-search.dir/beam-search.o: ../beam-search/beam-search.cpp
|
||||
beam-search/CMakeFiles/beam-search.dir/beam-search.o: beam-search/CMakeFiles/beam-search.dir/compiler_depend.ts
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/CMakeFiles --progress-num=$(CMAKE_PROGRESS_1) "Building CXX object beam-search/CMakeFiles/beam-search.dir/beam-search.o"
|
||||
cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/beam-search && /opt/intel/oneapi/compiler/2024.0/bin/icpx $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -MD -MT beam-search/CMakeFiles/beam-search.dir/beam-search.o -MF CMakeFiles/beam-search.dir/beam-search.o.d -o CMakeFiles/beam-search.dir/beam-search.o -c /home/jianyuzh/ws/llama.cpp/develop/examples/beam-search/beam-search.cpp
|
||||
|
||||
beam-search/CMakeFiles/beam-search.dir/beam-search.i: cmake_force
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/beam-search.dir/beam-search.i"
|
||||
cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/beam-search && /opt/intel/oneapi/compiler/2024.0/bin/icpx $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /home/jianyuzh/ws/llama.cpp/develop/examples/beam-search/beam-search.cpp > CMakeFiles/beam-search.dir/beam-search.i
|
||||
|
||||
beam-search/CMakeFiles/beam-search.dir/beam-search.s: cmake_force
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/beam-search.dir/beam-search.s"
|
||||
cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/beam-search && /opt/intel/oneapi/compiler/2024.0/bin/icpx $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /home/jianyuzh/ws/llama.cpp/develop/examples/beam-search/beam-search.cpp -o CMakeFiles/beam-search.dir/beam-search.s
|
||||
|
||||
# Object files for target beam-search
|
||||
beam__search_OBJECTS = \
|
||||
"CMakeFiles/beam-search.dir/beam-search.o"
|
||||
|
||||
# External object files for target beam-search
|
||||
beam__search_EXTERNAL_OBJECTS =
|
||||
|
||||
beam-search/beam-search: beam-search/CMakeFiles/beam-search.dir/beam-search.o
|
||||
beam-search/beam-search: beam-search/CMakeFiles/beam-search.dir/build.make
|
||||
beam-search/beam-search: beam-search/CMakeFiles/beam-search.dir/link.txt
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --bold --progress-dir=/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/CMakeFiles --progress-num=$(CMAKE_PROGRESS_2) "Linking CXX executable beam-search"
|
||||
cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/beam-search && $(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/beam-search.dir/link.txt --verbose=$(VERBOSE)
|
||||
|
||||
# Rule to build all files generated by this target.
|
||||
beam-search/CMakeFiles/beam-search.dir/build: beam-search/beam-search
|
||||
.PHONY : beam-search/CMakeFiles/beam-search.dir/build
|
||||
|
||||
beam-search/CMakeFiles/beam-search.dir/clean:
|
||||
cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/beam-search && $(CMAKE_COMMAND) -P CMakeFiles/beam-search.dir/cmake_clean.cmake
|
||||
.PHONY : beam-search/CMakeFiles/beam-search.dir/clean
|
||||
|
||||
beam-search/CMakeFiles/beam-search.dir/depend:
|
||||
cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/jianyuzh/ws/llama.cpp/develop/examples /home/jianyuzh/ws/llama.cpp/develop/examples/beam-search /home/jianyuzh/ws/llama.cpp/develop/examples/sycl /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/beam-search /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/beam-search/CMakeFiles/beam-search.dir/DependInfo.cmake --color=$(COLOR)
|
||||
.PHONY : beam-search/CMakeFiles/beam-search.dir/depend
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
file(REMOVE_RECURSE
|
||||
"CMakeFiles/beam-search.dir/beam-search.o"
|
||||
"CMakeFiles/beam-search.dir/beam-search.o.d"
|
||||
"beam-search"
|
||||
"beam-search.pdb"
|
||||
)
|
||||
|
||||
# Per-language clean rules from dependency scanning.
|
||||
foreach(lang CXX)
|
||||
include(CMakeFiles/beam-search.dir/cmake_clean_${lang}.cmake OPTIONAL)
|
||||
endforeach()
|
|
@ -0,0 +1,2 @@
|
|||
# Empty compiler generated dependencies file for beam-search.
|
||||
# This may be replaced when dependencies are built.
|
|
@ -0,0 +1,2 @@
|
|||
# CMAKE generated file: DO NOT EDIT!
|
||||
# Timestamp file for compiler generated dependencies management for beam-search.
|
|
@ -0,0 +1,2 @@
|
|||
# Empty dependencies file for beam-search.
|
||||
# This may be replaced when dependencies are built.
|
|
@ -0,0 +1,10 @@
|
|||
# CMAKE generated file: DO NOT EDIT!
|
||||
# Generated by "Unix Makefiles" Generator, CMake Version 3.22
|
||||
|
||||
# compile CXX with /opt/intel/oneapi/compiler/2024.0/bin/icpx
|
||||
CXX_DEFINES =
|
||||
|
||||
CXX_INCLUDES = -I/home/jianyuzh/ws/llama.cpp/develop/examples
|
||||
|
||||
CXX_FLAGS =
|
||||
|
|
@ -0,0 +1 @@
|
|||
/opt/intel/oneapi/compiler/2024.0/bin/icpx -rdynamic CMakeFiles/beam-search.dir/beam-search.o -o beam-search -lcommon -lllama
|
|
@ -0,0 +1,3 @@
|
|||
CMAKE_PROGRESS_1 = 7
|
||||
CMAKE_PROGRESS_2 = 8
|
||||
|
1
examples/sycl/beam-search/CMakeFiles/progress.marks
Normal file
1
examples/sycl/beam-search/CMakeFiles/progress.marks
Normal file
|
@ -0,0 +1 @@
|
|||
2
|
222
examples/sycl/beam-search/Makefile
Normal file
222
examples/sycl/beam-search/Makefile
Normal file
|
@ -0,0 +1,222 @@
|
|||
# CMAKE generated file: DO NOT EDIT!
|
||||
# Generated by "Unix Makefiles" Generator, CMake Version 3.22
|
||||
|
||||
# Default target executed when no arguments are given to make.
|
||||
default_target: all
|
||||
.PHONY : default_target
|
||||
|
||||
# Allow only one "make -f Makefile2" at a time, but pass parallelism.
|
||||
.NOTPARALLEL:
|
||||
|
||||
#=============================================================================
|
||||
# Special targets provided by cmake.
|
||||
|
||||
# Disable implicit rules so canonical targets will work.
|
||||
.SUFFIXES:
|
||||
|
||||
# Disable VCS-based implicit rules.
|
||||
% : %,v
|
||||
|
||||
# Disable VCS-based implicit rules.
|
||||
% : RCS/%
|
||||
|
||||
# Disable VCS-based implicit rules.
|
||||
% : RCS/%,v
|
||||
|
||||
# Disable VCS-based implicit rules.
|
||||
% : SCCS/s.%
|
||||
|
||||
# Disable VCS-based implicit rules.
|
||||
% : s.%
|
||||
|
||||
.SUFFIXES: .hpux_make_needs_suffix_list
|
||||
|
||||
# Command-line flag to silence nested $(MAKE).
|
||||
$(VERBOSE)MAKESILENT = -s
|
||||
|
||||
#Suppress display of executed commands.
|
||||
$(VERBOSE).SILENT:
|
||||
|
||||
# A target that is always out of date.
|
||||
cmake_force:
|
||||
.PHONY : cmake_force
|
||||
|
||||
#=============================================================================
|
||||
# Set environment variables for the build.
|
||||
|
||||
# The shell in which to execute make rules.
|
||||
SHELL = /bin/sh
|
||||
|
||||
# The CMake executable.
|
||||
CMAKE_COMMAND = /usr/bin/cmake
|
||||
|
||||
# The command to remove a file.
|
||||
RM = /usr/bin/cmake -E rm -f
|
||||
|
||||
# Escaping for special characters.
|
||||
EQUALS = =
|
||||
|
||||
# The top-level source directory on which CMake was run.
|
||||
CMAKE_SOURCE_DIR = /home/jianyuzh/ws/llama.cpp/develop/examples
|
||||
|
||||
# The top-level build directory on which CMake was run.
|
||||
CMAKE_BINARY_DIR = /home/jianyuzh/ws/llama.cpp/develop/examples/sycl
|
||||
|
||||
#=============================================================================
|
||||
# Targets provided globally by CMake.
|
||||
|
||||
# Special rule for the target edit_cache
|
||||
edit_cache:
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "No interactive CMake dialog available..."
|
||||
/usr/bin/cmake -E echo No\ interactive\ CMake\ dialog\ available.
|
||||
.PHONY : edit_cache
|
||||
|
||||
# Special rule for the target edit_cache
|
||||
edit_cache/fast: edit_cache
|
||||
.PHONY : edit_cache/fast
|
||||
|
||||
# Special rule for the target rebuild_cache
|
||||
rebuild_cache:
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..."
|
||||
/usr/bin/cmake --regenerate-during-build -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
|
||||
.PHONY : rebuild_cache
|
||||
|
||||
# Special rule for the target rebuild_cache
|
||||
rebuild_cache/fast: rebuild_cache
|
||||
.PHONY : rebuild_cache/fast
|
||||
|
||||
# Special rule for the target list_install_components
|
||||
list_install_components:
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\""
|
||||
.PHONY : list_install_components
|
||||
|
||||
# Special rule for the target list_install_components
|
||||
list_install_components/fast: list_install_components
|
||||
.PHONY : list_install_components/fast
|
||||
|
||||
# Special rule for the target install
|
||||
install: preinstall
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..."
|
||||
/usr/bin/cmake -P cmake_install.cmake
|
||||
.PHONY : install
|
||||
|
||||
# Special rule for the target install
|
||||
install/fast: preinstall/fast
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..."
|
||||
/usr/bin/cmake -P cmake_install.cmake
|
||||
.PHONY : install/fast
|
||||
|
||||
# Special rule for the target install/local
|
||||
install/local: preinstall
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..."
|
||||
/usr/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake
|
||||
.PHONY : install/local
|
||||
|
||||
# Special rule for the target install/local
|
||||
install/local/fast: preinstall/fast
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..."
|
||||
/usr/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake
|
||||
.PHONY : install/local/fast
|
||||
|
||||
# Special rule for the target install/strip
|
||||
install/strip: preinstall
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..."
|
||||
/usr/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake
|
||||
.PHONY : install/strip
|
||||
|
||||
# Special rule for the target install/strip
|
||||
install/strip/fast: preinstall/fast
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..."
|
||||
/usr/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake
|
||||
.PHONY : install/strip/fast
|
||||
|
||||
# The main all target
|
||||
all: cmake_check_build_system
|
||||
cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(CMAKE_COMMAND) -E cmake_progress_start /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/CMakeFiles /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/beam-search//CMakeFiles/progress.marks
|
||||
cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 beam-search/all
|
||||
$(CMAKE_COMMAND) -E cmake_progress_start /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/CMakeFiles 0
|
||||
.PHONY : all
|
||||
|
||||
# The main clean target
|
||||
clean:
|
||||
cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 beam-search/clean
|
||||
.PHONY : clean
|
||||
|
||||
# The main clean target
|
||||
clean/fast: clean
|
||||
.PHONY : clean/fast
|
||||
|
||||
# Prepare targets for installation.
|
||||
preinstall: all
|
||||
cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 beam-search/preinstall
|
||||
.PHONY : preinstall
|
||||
|
||||
# Prepare targets for installation.
|
||||
preinstall/fast:
|
||||
cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 beam-search/preinstall
|
||||
.PHONY : preinstall/fast
|
||||
|
||||
# clear depends
|
||||
depend:
|
||||
cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(CMAKE_COMMAND) -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1
|
||||
.PHONY : depend
|
||||
|
||||
# Convenience name for target.
|
||||
beam-search/CMakeFiles/beam-search.dir/rule:
|
||||
cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 beam-search/CMakeFiles/beam-search.dir/rule
|
||||
.PHONY : beam-search/CMakeFiles/beam-search.dir/rule
|
||||
|
||||
# Convenience name for target.
|
||||
beam-search: beam-search/CMakeFiles/beam-search.dir/rule
|
||||
.PHONY : beam-search
|
||||
|
||||
# fast build rule for target.
|
||||
beam-search/fast:
|
||||
cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f beam-search/CMakeFiles/beam-search.dir/build.make beam-search/CMakeFiles/beam-search.dir/build
|
||||
.PHONY : beam-search/fast
|
||||
|
||||
# target to build an object file
|
||||
beam-search.o:
|
||||
cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f beam-search/CMakeFiles/beam-search.dir/build.make beam-search/CMakeFiles/beam-search.dir/beam-search.o
|
||||
.PHONY : beam-search.o
|
||||
|
||||
# target to preprocess a source file
|
||||
beam-search.i:
|
||||
cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f beam-search/CMakeFiles/beam-search.dir/build.make beam-search/CMakeFiles/beam-search.dir/beam-search.i
|
||||
.PHONY : beam-search.i
|
||||
|
||||
# target to generate assembly for a file
|
||||
beam-search.s:
|
||||
cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f beam-search/CMakeFiles/beam-search.dir/build.make beam-search/CMakeFiles/beam-search.dir/beam-search.s
|
||||
.PHONY : beam-search.s
|
||||
|
||||
# Help Target
|
||||
help:
|
||||
@echo "The following are some of the valid targets for this Makefile:"
|
||||
@echo "... all (the default if no target is provided)"
|
||||
@echo "... clean"
|
||||
@echo "... depend"
|
||||
@echo "... edit_cache"
|
||||
@echo "... install"
|
||||
@echo "... install/local"
|
||||
@echo "... install/strip"
|
||||
@echo "... list_install_components"
|
||||
@echo "... rebuild_cache"
|
||||
@echo "... beam-search"
|
||||
@echo "... beam-search.o"
|
||||
@echo "... beam-search.i"
|
||||
@echo "... beam-search.s"
|
||||
.PHONY : help
|
||||
|
||||
|
||||
|
||||
#=============================================================================
|
||||
# Special targets to cleanup operation of make.
|
||||
|
||||
# Special rule to run CMake to check the build system integrity.
|
||||
# No rule that depends on this can have commands that come from listfiles
|
||||
# because they might be regenerated.
|
||||
cmake_check_build_system:
|
||||
cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(CMAKE_COMMAND) -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0
|
||||
.PHONY : cmake_check_build_system
|
||||
|
60
examples/sycl/beam-search/cmake_install.cmake
Normal file
60
examples/sycl/beam-search/cmake_install.cmake
Normal file
|
@ -0,0 +1,60 @@
|
|||
# Install script for directory: /home/jianyuzh/ws/llama.cpp/develop/examples/beam-search
|
||||
|
||||
# Set the install prefix
|
||||
if(NOT DEFINED CMAKE_INSTALL_PREFIX)
|
||||
set(CMAKE_INSTALL_PREFIX "/usr/local")
|
||||
endif()
|
||||
string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}")
|
||||
|
||||
# Set the install configuration name.
|
||||
if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME)
|
||||
if(BUILD_TYPE)
|
||||
string(REGEX REPLACE "^[^A-Za-z0-9_]+" ""
|
||||
CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}")
|
||||
else()
|
||||
set(CMAKE_INSTALL_CONFIG_NAME "")
|
||||
endif()
|
||||
message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"")
|
||||
endif()
|
||||
|
||||
# Set the component getting installed.
|
||||
if(NOT CMAKE_INSTALL_COMPONENT)
|
||||
if(COMPONENT)
|
||||
message(STATUS "Install component: \"${COMPONENT}\"")
|
||||
set(CMAKE_INSTALL_COMPONENT "${COMPONENT}")
|
||||
else()
|
||||
set(CMAKE_INSTALL_COMPONENT)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
# Install shared libraries without execute permission?
|
||||
if(NOT DEFINED CMAKE_INSTALL_SO_NO_EXE)
|
||||
set(CMAKE_INSTALL_SO_NO_EXE "1")
|
||||
endif()
|
||||
|
||||
# Is this installation the result of a crosscompile?
|
||||
if(NOT DEFINED CMAKE_CROSSCOMPILING)
|
||||
set(CMAKE_CROSSCOMPILING "FALSE")
|
||||
endif()
|
||||
|
||||
# Set default install directory permissions.
|
||||
if(NOT DEFINED CMAKE_OBJDUMP)
|
||||
set(CMAKE_OBJDUMP "/usr/bin/objdump")
|
||||
endif()
|
||||
|
||||
if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT)
|
||||
if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/beam-search" AND
|
||||
NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/beam-search")
|
||||
file(RPATH_CHECK
|
||||
FILE "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/beam-search"
|
||||
RPATH "")
|
||||
endif()
|
||||
file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/bin" TYPE EXECUTABLE FILES "/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/beam-search/beam-search")
|
||||
if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/beam-search" AND
|
||||
NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/beam-search")
|
||||
if(CMAKE_INSTALL_DO_STRIP)
|
||||
execute_process(COMMAND "/usr/bin/strip" "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/beam-search")
|
||||
endif()
|
||||
endif()
|
||||
endif()
|
||||
|
|
@ -0,0 +1,16 @@
|
|||
# CMAKE generated file: DO NOT EDIT!
|
||||
# Generated by "Unix Makefiles" Generator, CMake Version 3.22
|
||||
|
||||
# Relative path conversion top directories.
|
||||
set(CMAKE_RELATIVE_PATH_TOP_SOURCE "/home/jianyuzh/ws/llama.cpp/develop/examples")
|
||||
set(CMAKE_RELATIVE_PATH_TOP_BINARY "/home/jianyuzh/ws/llama.cpp/develop/examples/sycl")
|
||||
|
||||
# Force unix paths in dependencies.
|
||||
set(CMAKE_FORCE_UNIX_PATHS 1)
|
||||
|
||||
|
||||
# The C and CXX include file regular expressions for this directory.
|
||||
set(CMAKE_C_INCLUDE_REGEX_SCAN "^.*$")
|
||||
set(CMAKE_C_INCLUDE_REGEX_COMPLAIN "^$")
|
||||
set(CMAKE_CXX_INCLUDE_REGEX_SCAN ${CMAKE_C_INCLUDE_REGEX_SCAN})
|
||||
set(CMAKE_CXX_INCLUDE_REGEX_COMPLAIN ${CMAKE_C_INCLUDE_REGEX_COMPLAIN})
|
|
@ -0,0 +1,19 @@
|
|||
|
||||
# Consider dependencies only in project.
|
||||
set(CMAKE_DEPENDS_IN_PROJECT_ONLY OFF)
|
||||
|
||||
# The set of languages for which implicit dependencies are needed:
|
||||
set(CMAKE_DEPENDS_LANGUAGES
|
||||
)
|
||||
|
||||
# The set of dependency files which are needed:
|
||||
set(CMAKE_DEPENDS_DEPENDENCY_FILES
|
||||
"/home/jianyuzh/ws/llama.cpp/develop/examples/benchmark/benchmark-matmult.cpp" "benchmark/CMakeFiles/benchmark.dir/benchmark-matmult.o" "gcc" "benchmark/CMakeFiles/benchmark.dir/benchmark-matmult.o.d"
|
||||
)
|
||||
|
||||
# Targets to which this target links.
|
||||
set(CMAKE_TARGET_LINKED_INFO_FILES
|
||||
)
|
||||
|
||||
# Fortran module output directory.
|
||||
set(CMAKE_Fortran_TARGET_MODULE_DIR "")
|
110
examples/sycl/benchmark/CMakeFiles/benchmark.dir/build.make
Normal file
110
examples/sycl/benchmark/CMakeFiles/benchmark.dir/build.make
Normal file
|
@ -0,0 +1,110 @@
|
|||
# CMAKE generated file: DO NOT EDIT!
|
||||
# Generated by "Unix Makefiles" Generator, CMake Version 3.22
|
||||
|
||||
# Delete rule output on recipe failure.
|
||||
.DELETE_ON_ERROR:
|
||||
|
||||
#=============================================================================
|
||||
# Special targets provided by cmake.
|
||||
|
||||
# Disable implicit rules so canonical targets will work.
|
||||
.SUFFIXES:
|
||||
|
||||
# Disable VCS-based implicit rules.
|
||||
% : %,v
|
||||
|
||||
# Disable VCS-based implicit rules.
|
||||
% : RCS/%
|
||||
|
||||
# Disable VCS-based implicit rules.
|
||||
% : RCS/%,v
|
||||
|
||||
# Disable VCS-based implicit rules.
|
||||
% : SCCS/s.%
|
||||
|
||||
# Disable VCS-based implicit rules.
|
||||
% : s.%
|
||||
|
||||
.SUFFIXES: .hpux_make_needs_suffix_list
|
||||
|
||||
# Command-line flag to silence nested $(MAKE).
|
||||
$(VERBOSE)MAKESILENT = -s
|
||||
|
||||
#Suppress display of executed commands.
|
||||
$(VERBOSE).SILENT:
|
||||
|
||||
# A target that is always out of date.
|
||||
cmake_force:
|
||||
.PHONY : cmake_force
|
||||
|
||||
#=============================================================================
|
||||
# Set environment variables for the build.
|
||||
|
||||
# The shell in which to execute make rules.
|
||||
SHELL = /bin/sh
|
||||
|
||||
# The CMake executable.
|
||||
CMAKE_COMMAND = /usr/bin/cmake
|
||||
|
||||
# The command to remove a file.
|
||||
RM = /usr/bin/cmake -E rm -f
|
||||
|
||||
# Escaping for special characters.
|
||||
EQUALS = =
|
||||
|
||||
# The top-level source directory on which CMake was run.
|
||||
CMAKE_SOURCE_DIR = /home/jianyuzh/ws/llama.cpp/develop/examples
|
||||
|
||||
# The top-level build directory on which CMake was run.
|
||||
CMAKE_BINARY_DIR = /home/jianyuzh/ws/llama.cpp/develop/examples/sycl
|
||||
|
||||
# Include any dependencies generated for this target.
|
||||
include benchmark/CMakeFiles/benchmark.dir/depend.make
|
||||
# Include any dependencies generated by the compiler for this target.
|
||||
include benchmark/CMakeFiles/benchmark.dir/compiler_depend.make
|
||||
|
||||
# Include the progress variables for this target.
|
||||
include benchmark/CMakeFiles/benchmark.dir/progress.make
|
||||
|
||||
# Include the compile flags for this target's objects.
|
||||
include benchmark/CMakeFiles/benchmark.dir/flags.make
|
||||
|
||||
benchmark/CMakeFiles/benchmark.dir/benchmark-matmult.o: benchmark/CMakeFiles/benchmark.dir/flags.make
|
||||
benchmark/CMakeFiles/benchmark.dir/benchmark-matmult.o: ../benchmark/benchmark-matmult.cpp
|
||||
benchmark/CMakeFiles/benchmark.dir/benchmark-matmult.o: benchmark/CMakeFiles/benchmark.dir/compiler_depend.ts
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/CMakeFiles --progress-num=$(CMAKE_PROGRESS_1) "Building CXX object benchmark/CMakeFiles/benchmark.dir/benchmark-matmult.o"
|
||||
cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/benchmark && /opt/intel/oneapi/compiler/2024.0/bin/icpx $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -MD -MT benchmark/CMakeFiles/benchmark.dir/benchmark-matmult.o -MF CMakeFiles/benchmark.dir/benchmark-matmult.o.d -o CMakeFiles/benchmark.dir/benchmark-matmult.o -c /home/jianyuzh/ws/llama.cpp/develop/examples/benchmark/benchmark-matmult.cpp
|
||||
|
||||
benchmark/CMakeFiles/benchmark.dir/benchmark-matmult.i: cmake_force
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/benchmark.dir/benchmark-matmult.i"
|
||||
cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/benchmark && /opt/intel/oneapi/compiler/2024.0/bin/icpx $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /home/jianyuzh/ws/llama.cpp/develop/examples/benchmark/benchmark-matmult.cpp > CMakeFiles/benchmark.dir/benchmark-matmult.i
|
||||
|
||||
benchmark/CMakeFiles/benchmark.dir/benchmark-matmult.s: cmake_force
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/benchmark.dir/benchmark-matmult.s"
|
||||
cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/benchmark && /opt/intel/oneapi/compiler/2024.0/bin/icpx $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /home/jianyuzh/ws/llama.cpp/develop/examples/benchmark/benchmark-matmult.cpp -o CMakeFiles/benchmark.dir/benchmark-matmult.s
|
||||
|
||||
# Object files for target benchmark
|
||||
benchmark_OBJECTS = \
|
||||
"CMakeFiles/benchmark.dir/benchmark-matmult.o"
|
||||
|
||||
# External object files for target benchmark
|
||||
benchmark_EXTERNAL_OBJECTS =
|
||||
|
||||
benchmark/benchmark: benchmark/CMakeFiles/benchmark.dir/benchmark-matmult.o
|
||||
benchmark/benchmark: benchmark/CMakeFiles/benchmark.dir/build.make
|
||||
benchmark/benchmark: benchmark/CMakeFiles/benchmark.dir/link.txt
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --bold --progress-dir=/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/CMakeFiles --progress-num=$(CMAKE_PROGRESS_2) "Linking CXX executable benchmark"
|
||||
cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/benchmark && $(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/benchmark.dir/link.txt --verbose=$(VERBOSE)
|
||||
|
||||
# Rule to build all files generated by this target.
|
||||
benchmark/CMakeFiles/benchmark.dir/build: benchmark/benchmark
|
||||
.PHONY : benchmark/CMakeFiles/benchmark.dir/build
|
||||
|
||||
benchmark/CMakeFiles/benchmark.dir/clean:
|
||||
cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/benchmark && $(CMAKE_COMMAND) -P CMakeFiles/benchmark.dir/cmake_clean.cmake
|
||||
.PHONY : benchmark/CMakeFiles/benchmark.dir/clean
|
||||
|
||||
benchmark/CMakeFiles/benchmark.dir/depend:
|
||||
cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/jianyuzh/ws/llama.cpp/develop/examples /home/jianyuzh/ws/llama.cpp/develop/examples/benchmark /home/jianyuzh/ws/llama.cpp/develop/examples/sycl /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/benchmark /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/benchmark/CMakeFiles/benchmark.dir/DependInfo.cmake --color=$(COLOR)
|
||||
.PHONY : benchmark/CMakeFiles/benchmark.dir/depend
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
file(REMOVE_RECURSE
|
||||
"CMakeFiles/benchmark.dir/benchmark-matmult.o"
|
||||
"CMakeFiles/benchmark.dir/benchmark-matmult.o.d"
|
||||
"benchmark"
|
||||
"benchmark.pdb"
|
||||
)
|
||||
|
||||
# Per-language clean rules from dependency scanning.
|
||||
foreach(lang CXX)
|
||||
include(CMakeFiles/benchmark.dir/cmake_clean_${lang}.cmake OPTIONAL)
|
||||
endforeach()
|
|
@ -0,0 +1,2 @@
|
|||
# Empty compiler generated dependencies file for benchmark.
|
||||
# This may be replaced when dependencies are built.
|
|
@ -0,0 +1,2 @@
|
|||
# CMAKE generated file: DO NOT EDIT!
|
||||
# Timestamp file for compiler generated dependencies management for benchmark.
|
|
@ -0,0 +1,2 @@
|
|||
# Empty dependencies file for benchmark.
|
||||
# This may be replaced when dependencies are built.
|
10
examples/sycl/benchmark/CMakeFiles/benchmark.dir/flags.make
Normal file
10
examples/sycl/benchmark/CMakeFiles/benchmark.dir/flags.make
Normal file
|
@ -0,0 +1,10 @@
|
|||
# CMAKE generated file: DO NOT EDIT!
|
||||
# Generated by "Unix Makefiles" Generator, CMake Version 3.22
|
||||
|
||||
# compile CXX with /opt/intel/oneapi/compiler/2024.0/bin/icpx
|
||||
CXX_DEFINES =
|
||||
|
||||
CXX_INCLUDES = -I/home/jianyuzh/ws/llama.cpp/develop/examples -I/home/jianyuzh/ws/llama.cpp/develop/examples/benchmark/../../common
|
||||
|
||||
CXX_FLAGS =
|
||||
|
|
@ -0,0 +1 @@
|
|||
/opt/intel/oneapi/compiler/2024.0/bin/icpx -rdynamic CMakeFiles/benchmark.dir/benchmark-matmult.o -o benchmark -lllama -lbuild_info
|
|
@ -0,0 +1,3 @@
|
|||
CMAKE_PROGRESS_1 = 9
|
||||
CMAKE_PROGRESS_2 = 10
|
||||
|
1
examples/sycl/benchmark/CMakeFiles/progress.marks
Normal file
1
examples/sycl/benchmark/CMakeFiles/progress.marks
Normal file
|
@ -0,0 +1 @@
|
|||
2
|
222
examples/sycl/benchmark/Makefile
Normal file
222
examples/sycl/benchmark/Makefile
Normal file
|
@ -0,0 +1,222 @@
|
|||
# CMAKE generated file: DO NOT EDIT!
|
||||
# Generated by "Unix Makefiles" Generator, CMake Version 3.22
|
||||
|
||||
# Default target executed when no arguments are given to make.
|
||||
default_target: all
|
||||
.PHONY : default_target
|
||||
|
||||
# Allow only one "make -f Makefile2" at a time, but pass parallelism.
|
||||
.NOTPARALLEL:
|
||||
|
||||
#=============================================================================
|
||||
# Special targets provided by cmake.
|
||||
|
||||
# Disable implicit rules so canonical targets will work.
|
||||
.SUFFIXES:
|
||||
|
||||
# Disable VCS-based implicit rules.
|
||||
% : %,v
|
||||
|
||||
# Disable VCS-based implicit rules.
|
||||
% : RCS/%
|
||||
|
||||
# Disable VCS-based implicit rules.
|
||||
% : RCS/%,v
|
||||
|
||||
# Disable VCS-based implicit rules.
|
||||
% : SCCS/s.%
|
||||
|
||||
# Disable VCS-based implicit rules.
|
||||
% : s.%
|
||||
|
||||
.SUFFIXES: .hpux_make_needs_suffix_list
|
||||
|
||||
# Command-line flag to silence nested $(MAKE).
|
||||
$(VERBOSE)MAKESILENT = -s
|
||||
|
||||
#Suppress display of executed commands.
|
||||
$(VERBOSE).SILENT:
|
||||
|
||||
# A target that is always out of date.
|
||||
cmake_force:
|
||||
.PHONY : cmake_force
|
||||
|
||||
#=============================================================================
|
||||
# Set environment variables for the build.
|
||||
|
||||
# The shell in which to execute make rules.
|
||||
SHELL = /bin/sh
|
||||
|
||||
# The CMake executable.
|
||||
CMAKE_COMMAND = /usr/bin/cmake
|
||||
|
||||
# The command to remove a file.
|
||||
RM = /usr/bin/cmake -E rm -f
|
||||
|
||||
# Escaping for special characters.
|
||||
EQUALS = =
|
||||
|
||||
# The top-level source directory on which CMake was run.
|
||||
CMAKE_SOURCE_DIR = /home/jianyuzh/ws/llama.cpp/develop/examples
|
||||
|
||||
# The top-level build directory on which CMake was run.
|
||||
CMAKE_BINARY_DIR = /home/jianyuzh/ws/llama.cpp/develop/examples/sycl
|
||||
|
||||
#=============================================================================
|
||||
# Targets provided globally by CMake.
|
||||
|
||||
# Special rule for the target edit_cache
|
||||
edit_cache:
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "No interactive CMake dialog available..."
|
||||
/usr/bin/cmake -E echo No\ interactive\ CMake\ dialog\ available.
|
||||
.PHONY : edit_cache
|
||||
|
||||
# Special rule for the target edit_cache
|
||||
edit_cache/fast: edit_cache
|
||||
.PHONY : edit_cache/fast
|
||||
|
||||
# Special rule for the target rebuild_cache
|
||||
rebuild_cache:
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..."
|
||||
/usr/bin/cmake --regenerate-during-build -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
|
||||
.PHONY : rebuild_cache
|
||||
|
||||
# Special rule for the target rebuild_cache
|
||||
rebuild_cache/fast: rebuild_cache
|
||||
.PHONY : rebuild_cache/fast
|
||||
|
||||
# Special rule for the target list_install_components
|
||||
list_install_components:
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\""
|
||||
.PHONY : list_install_components
|
||||
|
||||
# Special rule for the target list_install_components
|
||||
list_install_components/fast: list_install_components
|
||||
.PHONY : list_install_components/fast
|
||||
|
||||
# Special rule for the target install
|
||||
install: preinstall
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..."
|
||||
/usr/bin/cmake -P cmake_install.cmake
|
||||
.PHONY : install
|
||||
|
||||
# Special rule for the target install
|
||||
install/fast: preinstall/fast
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..."
|
||||
/usr/bin/cmake -P cmake_install.cmake
|
||||
.PHONY : install/fast
|
||||
|
||||
# Special rule for the target install/local
|
||||
install/local: preinstall
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..."
|
||||
/usr/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake
|
||||
.PHONY : install/local
|
||||
|
||||
# Special rule for the target install/local
|
||||
install/local/fast: preinstall/fast
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..."
|
||||
/usr/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake
|
||||
.PHONY : install/local/fast
|
||||
|
||||
# Special rule for the target install/strip
|
||||
install/strip: preinstall
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..."
|
||||
/usr/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake
|
||||
.PHONY : install/strip
|
||||
|
||||
# Special rule for the target install/strip
|
||||
install/strip/fast: preinstall/fast
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..."
|
||||
/usr/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake
|
||||
.PHONY : install/strip/fast
|
||||
|
||||
# The main all target
|
||||
all: cmake_check_build_system
|
||||
cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(CMAKE_COMMAND) -E cmake_progress_start /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/CMakeFiles /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/benchmark//CMakeFiles/progress.marks
|
||||
cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 benchmark/all
|
||||
$(CMAKE_COMMAND) -E cmake_progress_start /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/CMakeFiles 0
|
||||
.PHONY : all
|
||||
|
||||
# The main clean target
|
||||
clean:
|
||||
cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 benchmark/clean
|
||||
.PHONY : clean
|
||||
|
||||
# The main clean target
|
||||
clean/fast: clean
|
||||
.PHONY : clean/fast
|
||||
|
||||
# Prepare targets for installation.
|
||||
preinstall: all
|
||||
cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 benchmark/preinstall
|
||||
.PHONY : preinstall
|
||||
|
||||
# Prepare targets for installation.
|
||||
preinstall/fast:
|
||||
cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 benchmark/preinstall
|
||||
.PHONY : preinstall/fast
|
||||
|
||||
# clear depends
|
||||
depend:
|
||||
cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(CMAKE_COMMAND) -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1
|
||||
.PHONY : depend
|
||||
|
||||
# Convenience name for target.
|
||||
benchmark/CMakeFiles/benchmark.dir/rule:
|
||||
cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 benchmark/CMakeFiles/benchmark.dir/rule
|
||||
.PHONY : benchmark/CMakeFiles/benchmark.dir/rule
|
||||
|
||||
# Convenience name for target.
|
||||
benchmark: benchmark/CMakeFiles/benchmark.dir/rule
|
||||
.PHONY : benchmark
|
||||
|
||||
# fast build rule for target.
|
||||
benchmark/fast:
|
||||
cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f benchmark/CMakeFiles/benchmark.dir/build.make benchmark/CMakeFiles/benchmark.dir/build
|
||||
.PHONY : benchmark/fast
|
||||
|
||||
# target to build an object file
|
||||
benchmark-matmult.o:
|
||||
cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f benchmark/CMakeFiles/benchmark.dir/build.make benchmark/CMakeFiles/benchmark.dir/benchmark-matmult.o
|
||||
.PHONY : benchmark-matmult.o
|
||||
|
||||
# target to preprocess a source file
|
||||
benchmark-matmult.i:
|
||||
cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f benchmark/CMakeFiles/benchmark.dir/build.make benchmark/CMakeFiles/benchmark.dir/benchmark-matmult.i
|
||||
.PHONY : benchmark-matmult.i
|
||||
|
||||
# target to generate assembly for a file
|
||||
benchmark-matmult.s:
|
||||
cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f benchmark/CMakeFiles/benchmark.dir/build.make benchmark/CMakeFiles/benchmark.dir/benchmark-matmult.s
|
||||
.PHONY : benchmark-matmult.s
|
||||
|
||||
# Help Target
|
||||
help:
|
||||
@echo "The following are some of the valid targets for this Makefile:"
|
||||
@echo "... all (the default if no target is provided)"
|
||||
@echo "... clean"
|
||||
@echo "... depend"
|
||||
@echo "... edit_cache"
|
||||
@echo "... install"
|
||||
@echo "... install/local"
|
||||
@echo "... install/strip"
|
||||
@echo "... list_install_components"
|
||||
@echo "... rebuild_cache"
|
||||
@echo "... benchmark"
|
||||
@echo "... benchmark-matmult.o"
|
||||
@echo "... benchmark-matmult.i"
|
||||
@echo "... benchmark-matmult.s"
|
||||
.PHONY : help
|
||||
|
||||
|
||||
|
||||
#=============================================================================
|
||||
# Special targets to cleanup operation of make.
|
||||
|
||||
# Special rule to run CMake to check the build system integrity.
|
||||
# No rule that depends on this can have commands that come from listfiles
|
||||
# because they might be regenerated.
|
||||
cmake_check_build_system:
|
||||
cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(CMAKE_COMMAND) -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0
|
||||
.PHONY : cmake_check_build_system
|
||||
|
60
examples/sycl/benchmark/cmake_install.cmake
Normal file
60
examples/sycl/benchmark/cmake_install.cmake
Normal file
|
@ -0,0 +1,60 @@
|
|||
# Install script for directory: /home/jianyuzh/ws/llama.cpp/develop/examples/benchmark
|
||||
|
||||
# Set the install prefix
|
||||
if(NOT DEFINED CMAKE_INSTALL_PREFIX)
|
||||
set(CMAKE_INSTALL_PREFIX "/usr/local")
|
||||
endif()
|
||||
string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}")
|
||||
|
||||
# Set the install configuration name.
|
||||
if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME)
|
||||
if(BUILD_TYPE)
|
||||
string(REGEX REPLACE "^[^A-Za-z0-9_]+" ""
|
||||
CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}")
|
||||
else()
|
||||
set(CMAKE_INSTALL_CONFIG_NAME "")
|
||||
endif()
|
||||
message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"")
|
||||
endif()
|
||||
|
||||
# Set the component getting installed.
|
||||
if(NOT CMAKE_INSTALL_COMPONENT)
|
||||
if(COMPONENT)
|
||||
message(STATUS "Install component: \"${COMPONENT}\"")
|
||||
set(CMAKE_INSTALL_COMPONENT "${COMPONENT}")
|
||||
else()
|
||||
set(CMAKE_INSTALL_COMPONENT)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
# Install shared libraries without execute permission?
|
||||
if(NOT DEFINED CMAKE_INSTALL_SO_NO_EXE)
|
||||
set(CMAKE_INSTALL_SO_NO_EXE "1")
|
||||
endif()
|
||||
|
||||
# Is this installation the result of a crosscompile?
|
||||
if(NOT DEFINED CMAKE_CROSSCOMPILING)
|
||||
set(CMAKE_CROSSCOMPILING "FALSE")
|
||||
endif()
|
||||
|
||||
# Set default install directory permissions.
|
||||
if(NOT DEFINED CMAKE_OBJDUMP)
|
||||
set(CMAKE_OBJDUMP "/usr/bin/objdump")
|
||||
endif()
|
||||
|
||||
if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT)
|
||||
if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/benchmark" AND
|
||||
NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/benchmark")
|
||||
file(RPATH_CHECK
|
||||
FILE "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/benchmark"
|
||||
RPATH "")
|
||||
endif()
|
||||
file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/bin" TYPE EXECUTABLE FILES "/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/benchmark/benchmark")
|
||||
if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/benchmark" AND
|
||||
NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/benchmark")
|
||||
if(CMAKE_INSTALL_DO_STRIP)
|
||||
execute_process(COMMAND "/usr/bin/strip" "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/benchmark")
|
||||
endif()
|
||||
endif()
|
||||
endif()
|
||||
|
84
examples/sycl/cmake_install.cmake
Normal file
84
examples/sycl/cmake_install.cmake
Normal file
|
@ -0,0 +1,84 @@
|
|||
# Install script for directory: /home/jianyuzh/ws/llama.cpp/develop/examples
|
||||
|
||||
# Set the install prefix
|
||||
if(NOT DEFINED CMAKE_INSTALL_PREFIX)
|
||||
set(CMAKE_INSTALL_PREFIX "/usr/local")
|
||||
endif()
|
||||
string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}")
|
||||
|
||||
# Set the install configuration name.
|
||||
if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME)
|
||||
if(BUILD_TYPE)
|
||||
string(REGEX REPLACE "^[^A-Za-z0-9_]+" ""
|
||||
CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}")
|
||||
else()
|
||||
set(CMAKE_INSTALL_CONFIG_NAME "")
|
||||
endif()
|
||||
message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"")
|
||||
endif()
|
||||
|
||||
# Set the component getting installed.
|
||||
if(NOT CMAKE_INSTALL_COMPONENT)
|
||||
if(COMPONENT)
|
||||
message(STATUS "Install component: \"${COMPONENT}\"")
|
||||
set(CMAKE_INSTALL_COMPONENT "${COMPONENT}")
|
||||
else()
|
||||
set(CMAKE_INSTALL_COMPONENT)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
# Install shared libraries without execute permission?
|
||||
if(NOT DEFINED CMAKE_INSTALL_SO_NO_EXE)
|
||||
set(CMAKE_INSTALL_SO_NO_EXE "1")
|
||||
endif()
|
||||
|
||||
# Is this installation the result of a crosscompile?
|
||||
if(NOT DEFINED CMAKE_CROSSCOMPILING)
|
||||
set(CMAKE_CROSSCOMPILING "FALSE")
|
||||
endif()
|
||||
|
||||
# Set default install directory permissions.
|
||||
if(NOT DEFINED CMAKE_OBJDUMP)
|
||||
set(CMAKE_OBJDUMP "/usr/bin/objdump")
|
||||
endif()
|
||||
|
||||
if(NOT CMAKE_INSTALL_LOCAL_ONLY)
|
||||
# Include the install script for each subdirectory.
|
||||
include("/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/baby-llama/cmake_install.cmake")
|
||||
include("/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/batched/cmake_install.cmake")
|
||||
include("/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/batched-bench/cmake_install.cmake")
|
||||
include("/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/beam-search/cmake_install.cmake")
|
||||
include("/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/benchmark/cmake_install.cmake")
|
||||
include("/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/convert-llama2c-to-ggml/cmake_install.cmake")
|
||||
include("/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/embedding/cmake_install.cmake")
|
||||
include("/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/finetune/cmake_install.cmake")
|
||||
include("/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/infill/cmake_install.cmake")
|
||||
include("/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/llama-bench/cmake_install.cmake")
|
||||
include("/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/llava/cmake_install.cmake")
|
||||
include("/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/sycl/cmake_install.cmake")
|
||||
include("/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/main/cmake_install.cmake")
|
||||
include("/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/tokenize/cmake_install.cmake")
|
||||
include("/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/parallel/cmake_install.cmake")
|
||||
include("/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/perplexity/cmake_install.cmake")
|
||||
include("/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/quantize/cmake_install.cmake")
|
||||
include("/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/quantize-stats/cmake_install.cmake")
|
||||
include("/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/save-load-state/cmake_install.cmake")
|
||||
include("/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/simple/cmake_install.cmake")
|
||||
include("/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/speculative/cmake_install.cmake")
|
||||
include("/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/lookahead/cmake_install.cmake")
|
||||
include("/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/lookup/cmake_install.cmake")
|
||||
include("/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/train-text-from-scratch/cmake_install.cmake")
|
||||
include("/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/export-lora/cmake_install.cmake")
|
||||
|
||||
endif()
|
||||
|
||||
if(CMAKE_INSTALL_COMPONENT)
|
||||
set(CMAKE_INSTALL_MANIFEST "install_manifest_${CMAKE_INSTALL_COMPONENT}.txt")
|
||||
else()
|
||||
set(CMAKE_INSTALL_MANIFEST "install_manifest.txt")
|
||||
endif()
|
||||
|
||||
string(REPLACE ";" "\n" CMAKE_INSTALL_MANIFEST_CONTENT
|
||||
"${CMAKE_INSTALL_MANIFEST_FILES}")
|
||||
file(WRITE "/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/${CMAKE_INSTALL_MANIFEST}"
|
||||
"${CMAKE_INSTALL_MANIFEST_CONTENT}")
|
|
@ -0,0 +1,16 @@
|
|||
# CMAKE generated file: DO NOT EDIT!
|
||||
# Generated by "Unix Makefiles" Generator, CMake Version 3.22
|
||||
|
||||
# Relative path conversion top directories.
|
||||
set(CMAKE_RELATIVE_PATH_TOP_SOURCE "/home/jianyuzh/ws/llama.cpp/develop/examples")
|
||||
set(CMAKE_RELATIVE_PATH_TOP_BINARY "/home/jianyuzh/ws/llama.cpp/develop/examples/sycl")
|
||||
|
||||
# Force unix paths in dependencies.
|
||||
set(CMAKE_FORCE_UNIX_PATHS 1)
|
||||
|
||||
|
||||
# The C and CXX include file regular expressions for this directory.
|
||||
set(CMAKE_C_INCLUDE_REGEX_SCAN "^.*$")
|
||||
set(CMAKE_C_INCLUDE_REGEX_COMPLAIN "^$")
|
||||
set(CMAKE_CXX_INCLUDE_REGEX_SCAN ${CMAKE_C_INCLUDE_REGEX_SCAN})
|
||||
set(CMAKE_CXX_INCLUDE_REGEX_COMPLAIN ${CMAKE_C_INCLUDE_REGEX_COMPLAIN})
|
|
@ -0,0 +1,19 @@
|
|||
|
||||
# Consider dependencies only in project.
|
||||
set(CMAKE_DEPENDS_IN_PROJECT_ONLY OFF)
|
||||
|
||||
# The set of languages for which implicit dependencies are needed:
|
||||
set(CMAKE_DEPENDS_LANGUAGES
|
||||
)
|
||||
|
||||
# The set of dependency files which are needed:
|
||||
set(CMAKE_DEPENDS_DEPENDENCY_FILES
|
||||
"/home/jianyuzh/ws/llama.cpp/develop/examples/convert-llama2c-to-ggml/convert-llama2c-to-ggml.cpp" "convert-llama2c-to-ggml/CMakeFiles/convert-llama2c-to-ggml.dir/convert-llama2c-to-ggml.o" "gcc" "convert-llama2c-to-ggml/CMakeFiles/convert-llama2c-to-ggml.dir/convert-llama2c-to-ggml.o.d"
|
||||
)
|
||||
|
||||
# Targets to which this target links.
|
||||
set(CMAKE_TARGET_LINKED_INFO_FILES
|
||||
)
|
||||
|
||||
# Fortran module output directory.
|
||||
set(CMAKE_Fortran_TARGET_MODULE_DIR "")
|
|
@ -0,0 +1,110 @@
|
|||
# CMAKE generated file: DO NOT EDIT!
|
||||
# Generated by "Unix Makefiles" Generator, CMake Version 3.22
|
||||
|
||||
# Delete rule output on recipe failure.
|
||||
.DELETE_ON_ERROR:
|
||||
|
||||
#=============================================================================
|
||||
# Special targets provided by cmake.
|
||||
|
||||
# Disable implicit rules so canonical targets will work.
|
||||
.SUFFIXES:
|
||||
|
||||
# Disable VCS-based implicit rules.
|
||||
% : %,v
|
||||
|
||||
# Disable VCS-based implicit rules.
|
||||
% : RCS/%
|
||||
|
||||
# Disable VCS-based implicit rules.
|
||||
% : RCS/%,v
|
||||
|
||||
# Disable VCS-based implicit rules.
|
||||
% : SCCS/s.%
|
||||
|
||||
# Disable VCS-based implicit rules.
|
||||
% : s.%
|
||||
|
||||
.SUFFIXES: .hpux_make_needs_suffix_list
|
||||
|
||||
# Command-line flag to silence nested $(MAKE).
|
||||
$(VERBOSE)MAKESILENT = -s
|
||||
|
||||
#Suppress display of executed commands.
|
||||
$(VERBOSE).SILENT:
|
||||
|
||||
# A target that is always out of date.
|
||||
cmake_force:
|
||||
.PHONY : cmake_force
|
||||
|
||||
#=============================================================================
|
||||
# Set environment variables for the build.
|
||||
|
||||
# The shell in which to execute make rules.
|
||||
SHELL = /bin/sh
|
||||
|
||||
# The CMake executable.
|
||||
CMAKE_COMMAND = /usr/bin/cmake
|
||||
|
||||
# The command to remove a file.
|
||||
RM = /usr/bin/cmake -E rm -f
|
||||
|
||||
# Escaping for special characters.
|
||||
EQUALS = =
|
||||
|
||||
# The top-level source directory on which CMake was run.
|
||||
CMAKE_SOURCE_DIR = /home/jianyuzh/ws/llama.cpp/develop/examples
|
||||
|
||||
# The top-level build directory on which CMake was run.
|
||||
CMAKE_BINARY_DIR = /home/jianyuzh/ws/llama.cpp/develop/examples/sycl
|
||||
|
||||
# Include any dependencies generated for this target.
|
||||
include convert-llama2c-to-ggml/CMakeFiles/convert-llama2c-to-ggml.dir/depend.make
|
||||
# Include any dependencies generated by the compiler for this target.
|
||||
include convert-llama2c-to-ggml/CMakeFiles/convert-llama2c-to-ggml.dir/compiler_depend.make
|
||||
|
||||
# Include the progress variables for this target.
|
||||
include convert-llama2c-to-ggml/CMakeFiles/convert-llama2c-to-ggml.dir/progress.make
|
||||
|
||||
# Include the compile flags for this target's objects.
|
||||
include convert-llama2c-to-ggml/CMakeFiles/convert-llama2c-to-ggml.dir/flags.make
|
||||
|
||||
convert-llama2c-to-ggml/CMakeFiles/convert-llama2c-to-ggml.dir/convert-llama2c-to-ggml.o: convert-llama2c-to-ggml/CMakeFiles/convert-llama2c-to-ggml.dir/flags.make
|
||||
convert-llama2c-to-ggml/CMakeFiles/convert-llama2c-to-ggml.dir/convert-llama2c-to-ggml.o: ../convert-llama2c-to-ggml/convert-llama2c-to-ggml.cpp
|
||||
convert-llama2c-to-ggml/CMakeFiles/convert-llama2c-to-ggml.dir/convert-llama2c-to-ggml.o: convert-llama2c-to-ggml/CMakeFiles/convert-llama2c-to-ggml.dir/compiler_depend.ts
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/CMakeFiles --progress-num=$(CMAKE_PROGRESS_1) "Building CXX object convert-llama2c-to-ggml/CMakeFiles/convert-llama2c-to-ggml.dir/convert-llama2c-to-ggml.o"
|
||||
cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/convert-llama2c-to-ggml && /opt/intel/oneapi/compiler/2024.0/bin/icpx $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -MD -MT convert-llama2c-to-ggml/CMakeFiles/convert-llama2c-to-ggml.dir/convert-llama2c-to-ggml.o -MF CMakeFiles/convert-llama2c-to-ggml.dir/convert-llama2c-to-ggml.o.d -o CMakeFiles/convert-llama2c-to-ggml.dir/convert-llama2c-to-ggml.o -c /home/jianyuzh/ws/llama.cpp/develop/examples/convert-llama2c-to-ggml/convert-llama2c-to-ggml.cpp
|
||||
|
||||
convert-llama2c-to-ggml/CMakeFiles/convert-llama2c-to-ggml.dir/convert-llama2c-to-ggml.i: cmake_force
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/convert-llama2c-to-ggml.dir/convert-llama2c-to-ggml.i"
|
||||
cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/convert-llama2c-to-ggml && /opt/intel/oneapi/compiler/2024.0/bin/icpx $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /home/jianyuzh/ws/llama.cpp/develop/examples/convert-llama2c-to-ggml/convert-llama2c-to-ggml.cpp > CMakeFiles/convert-llama2c-to-ggml.dir/convert-llama2c-to-ggml.i
|
||||
|
||||
convert-llama2c-to-ggml/CMakeFiles/convert-llama2c-to-ggml.dir/convert-llama2c-to-ggml.s: cmake_force
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/convert-llama2c-to-ggml.dir/convert-llama2c-to-ggml.s"
|
||||
cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/convert-llama2c-to-ggml && /opt/intel/oneapi/compiler/2024.0/bin/icpx $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /home/jianyuzh/ws/llama.cpp/develop/examples/convert-llama2c-to-ggml/convert-llama2c-to-ggml.cpp -o CMakeFiles/convert-llama2c-to-ggml.dir/convert-llama2c-to-ggml.s
|
||||
|
||||
# Object files for target convert-llama2c-to-ggml
|
||||
convert__llama2c__to__ggml_OBJECTS = \
|
||||
"CMakeFiles/convert-llama2c-to-ggml.dir/convert-llama2c-to-ggml.o"
|
||||
|
||||
# External object files for target convert-llama2c-to-ggml
|
||||
convert__llama2c__to__ggml_EXTERNAL_OBJECTS =
|
||||
|
||||
convert-llama2c-to-ggml/convert-llama2c-to-ggml: convert-llama2c-to-ggml/CMakeFiles/convert-llama2c-to-ggml.dir/convert-llama2c-to-ggml.o
|
||||
convert-llama2c-to-ggml/convert-llama2c-to-ggml: convert-llama2c-to-ggml/CMakeFiles/convert-llama2c-to-ggml.dir/build.make
|
||||
convert-llama2c-to-ggml/convert-llama2c-to-ggml: convert-llama2c-to-ggml/CMakeFiles/convert-llama2c-to-ggml.dir/link.txt
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --bold --progress-dir=/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/CMakeFiles --progress-num=$(CMAKE_PROGRESS_2) "Linking CXX executable convert-llama2c-to-ggml"
|
||||
cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/convert-llama2c-to-ggml && $(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/convert-llama2c-to-ggml.dir/link.txt --verbose=$(VERBOSE)
|
||||
|
||||
# Rule to build all files generated by this target.
|
||||
convert-llama2c-to-ggml/CMakeFiles/convert-llama2c-to-ggml.dir/build: convert-llama2c-to-ggml/convert-llama2c-to-ggml
|
||||
.PHONY : convert-llama2c-to-ggml/CMakeFiles/convert-llama2c-to-ggml.dir/build
|
||||
|
||||
convert-llama2c-to-ggml/CMakeFiles/convert-llama2c-to-ggml.dir/clean:
|
||||
cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/convert-llama2c-to-ggml && $(CMAKE_COMMAND) -P CMakeFiles/convert-llama2c-to-ggml.dir/cmake_clean.cmake
|
||||
.PHONY : convert-llama2c-to-ggml/CMakeFiles/convert-llama2c-to-ggml.dir/clean
|
||||
|
||||
convert-llama2c-to-ggml/CMakeFiles/convert-llama2c-to-ggml.dir/depend:
|
||||
cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/jianyuzh/ws/llama.cpp/develop/examples /home/jianyuzh/ws/llama.cpp/develop/examples/convert-llama2c-to-ggml /home/jianyuzh/ws/llama.cpp/develop/examples/sycl /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/convert-llama2c-to-ggml /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/convert-llama2c-to-ggml/CMakeFiles/convert-llama2c-to-ggml.dir/DependInfo.cmake --color=$(COLOR)
|
||||
.PHONY : convert-llama2c-to-ggml/CMakeFiles/convert-llama2c-to-ggml.dir/depend
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
file(REMOVE_RECURSE
|
||||
"CMakeFiles/convert-llama2c-to-ggml.dir/convert-llama2c-to-ggml.o"
|
||||
"CMakeFiles/convert-llama2c-to-ggml.dir/convert-llama2c-to-ggml.o.d"
|
||||
"convert-llama2c-to-ggml"
|
||||
"convert-llama2c-to-ggml.pdb"
|
||||
)
|
||||
|
||||
# Per-language clean rules from dependency scanning.
|
||||
foreach(lang CXX)
|
||||
include(CMakeFiles/convert-llama2c-to-ggml.dir/cmake_clean_${lang}.cmake OPTIONAL)
|
||||
endforeach()
|
|
@ -0,0 +1,2 @@
|
|||
# Empty compiler generated dependencies file for convert-llama2c-to-ggml.
|
||||
# This may be replaced when dependencies are built.
|
|
@ -0,0 +1,2 @@
|
|||
# CMAKE generated file: DO NOT EDIT!
|
||||
# Timestamp file for compiler generated dependencies management for convert-llama2c-to-ggml.
|
|
@ -0,0 +1,2 @@
|
|||
# Empty dependencies file for convert-llama2c-to-ggml.
|
||||
# This may be replaced when dependencies are built.
|
|
@ -0,0 +1,10 @@
|
|||
# CMAKE generated file: DO NOT EDIT!
|
||||
# Generated by "Unix Makefiles" Generator, CMake Version 3.22
|
||||
|
||||
# compile CXX with /opt/intel/oneapi/compiler/2024.0/bin/icpx
|
||||
CXX_DEFINES =
|
||||
|
||||
CXX_INCLUDES = -I/home/jianyuzh/ws/llama.cpp/develop/examples
|
||||
|
||||
CXX_FLAGS =
|
||||
|
|
@ -0,0 +1 @@
|
|||
/opt/intel/oneapi/compiler/2024.0/bin/icpx -rdynamic CMakeFiles/convert-llama2c-to-ggml.dir/convert-llama2c-to-ggml.o -o convert-llama2c-to-ggml -lcommon -lllama
|
|
@ -0,0 +1,3 @@
|
|||
CMAKE_PROGRESS_1 = 11
|
||||
CMAKE_PROGRESS_2 = 12
|
||||
|
|
@ -0,0 +1 @@
|
|||
2
|
222
examples/sycl/convert-llama2c-to-ggml/Makefile
Normal file
222
examples/sycl/convert-llama2c-to-ggml/Makefile
Normal file
|
@ -0,0 +1,222 @@
|
|||
# CMAKE generated file: DO NOT EDIT!
|
||||
# Generated by "Unix Makefiles" Generator, CMake Version 3.22
|
||||
|
||||
# Default target executed when no arguments are given to make.
|
||||
default_target: all
|
||||
.PHONY : default_target
|
||||
|
||||
# Allow only one "make -f Makefile2" at a time, but pass parallelism.
|
||||
.NOTPARALLEL:
|
||||
|
||||
#=============================================================================
|
||||
# Special targets provided by cmake.
|
||||
|
||||
# Disable implicit rules so canonical targets will work.
|
||||
.SUFFIXES:
|
||||
|
||||
# Disable VCS-based implicit rules.
|
||||
% : %,v
|
||||
|
||||
# Disable VCS-based implicit rules.
|
||||
% : RCS/%
|
||||
|
||||
# Disable VCS-based implicit rules.
|
||||
% : RCS/%,v
|
||||
|
||||
# Disable VCS-based implicit rules.
|
||||
% : SCCS/s.%
|
||||
|
||||
# Disable VCS-based implicit rules.
|
||||
% : s.%
|
||||
|
||||
.SUFFIXES: .hpux_make_needs_suffix_list
|
||||
|
||||
# Command-line flag to silence nested $(MAKE).
|
||||
$(VERBOSE)MAKESILENT = -s
|
||||
|
||||
#Suppress display of executed commands.
|
||||
$(VERBOSE).SILENT:
|
||||
|
||||
# A target that is always out of date.
|
||||
cmake_force:
|
||||
.PHONY : cmake_force
|
||||
|
||||
#=============================================================================
|
||||
# Set environment variables for the build.
|
||||
|
||||
# The shell in which to execute make rules.
|
||||
SHELL = /bin/sh
|
||||
|
||||
# The CMake executable.
|
||||
CMAKE_COMMAND = /usr/bin/cmake
|
||||
|
||||
# The command to remove a file.
|
||||
RM = /usr/bin/cmake -E rm -f
|
||||
|
||||
# Escaping for special characters.
|
||||
EQUALS = =
|
||||
|
||||
# The top-level source directory on which CMake was run.
|
||||
CMAKE_SOURCE_DIR = /home/jianyuzh/ws/llama.cpp/develop/examples
|
||||
|
||||
# The top-level build directory on which CMake was run.
|
||||
CMAKE_BINARY_DIR = /home/jianyuzh/ws/llama.cpp/develop/examples/sycl
|
||||
|
||||
#=============================================================================
|
||||
# Targets provided globally by CMake.
|
||||
|
||||
# Special rule for the target edit_cache
|
||||
edit_cache:
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "No interactive CMake dialog available..."
|
||||
/usr/bin/cmake -E echo No\ interactive\ CMake\ dialog\ available.
|
||||
.PHONY : edit_cache
|
||||
|
||||
# Special rule for the target edit_cache
|
||||
edit_cache/fast: edit_cache
|
||||
.PHONY : edit_cache/fast
|
||||
|
||||
# Special rule for the target rebuild_cache
|
||||
rebuild_cache:
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..."
|
||||
/usr/bin/cmake --regenerate-during-build -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
|
||||
.PHONY : rebuild_cache
|
||||
|
||||
# Special rule for the target rebuild_cache
|
||||
rebuild_cache/fast: rebuild_cache
|
||||
.PHONY : rebuild_cache/fast
|
||||
|
||||
# Special rule for the target list_install_components
|
||||
list_install_components:
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\""
|
||||
.PHONY : list_install_components
|
||||
|
||||
# Special rule for the target list_install_components
|
||||
list_install_components/fast: list_install_components
|
||||
.PHONY : list_install_components/fast
|
||||
|
||||
# Special rule for the target install
|
||||
install: preinstall
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..."
|
||||
/usr/bin/cmake -P cmake_install.cmake
|
||||
.PHONY : install
|
||||
|
||||
# Special rule for the target install
|
||||
install/fast: preinstall/fast
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..."
|
||||
/usr/bin/cmake -P cmake_install.cmake
|
||||
.PHONY : install/fast
|
||||
|
||||
# Special rule for the target install/local
|
||||
install/local: preinstall
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..."
|
||||
/usr/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake
|
||||
.PHONY : install/local
|
||||
|
||||
# Special rule for the target install/local
|
||||
install/local/fast: preinstall/fast
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..."
|
||||
/usr/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake
|
||||
.PHONY : install/local/fast
|
||||
|
||||
# Special rule for the target install/strip
|
||||
install/strip: preinstall
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..."
|
||||
/usr/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake
|
||||
.PHONY : install/strip
|
||||
|
||||
# Special rule for the target install/strip
|
||||
install/strip/fast: preinstall/fast
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..."
|
||||
/usr/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake
|
||||
.PHONY : install/strip/fast
|
||||
|
||||
# The main all target
|
||||
all: cmake_check_build_system
|
||||
cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(CMAKE_COMMAND) -E cmake_progress_start /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/CMakeFiles /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/convert-llama2c-to-ggml//CMakeFiles/progress.marks
|
||||
cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 convert-llama2c-to-ggml/all
|
||||
$(CMAKE_COMMAND) -E cmake_progress_start /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/CMakeFiles 0
|
||||
.PHONY : all
|
||||
|
||||
# The main clean target
|
||||
clean:
|
||||
cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 convert-llama2c-to-ggml/clean
|
||||
.PHONY : clean
|
||||
|
||||
# The main clean target
|
||||
clean/fast: clean
|
||||
.PHONY : clean/fast
|
||||
|
||||
# Prepare targets for installation.
|
||||
preinstall: all
|
||||
cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 convert-llama2c-to-ggml/preinstall
|
||||
.PHONY : preinstall
|
||||
|
||||
# Prepare targets for installation.
|
||||
preinstall/fast:
|
||||
cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 convert-llama2c-to-ggml/preinstall
|
||||
.PHONY : preinstall/fast
|
||||
|
||||
# clear depends
|
||||
depend:
|
||||
cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(CMAKE_COMMAND) -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1
|
||||
.PHONY : depend
|
||||
|
||||
# Convenience name for target.
|
||||
convert-llama2c-to-ggml/CMakeFiles/convert-llama2c-to-ggml.dir/rule:
|
||||
cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 convert-llama2c-to-ggml/CMakeFiles/convert-llama2c-to-ggml.dir/rule
|
||||
.PHONY : convert-llama2c-to-ggml/CMakeFiles/convert-llama2c-to-ggml.dir/rule
|
||||
|
||||
# Convenience name for target.
|
||||
convert-llama2c-to-ggml: convert-llama2c-to-ggml/CMakeFiles/convert-llama2c-to-ggml.dir/rule
|
||||
.PHONY : convert-llama2c-to-ggml
|
||||
|
||||
# fast build rule for target.
|
||||
convert-llama2c-to-ggml/fast:
|
||||
cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f convert-llama2c-to-ggml/CMakeFiles/convert-llama2c-to-ggml.dir/build.make convert-llama2c-to-ggml/CMakeFiles/convert-llama2c-to-ggml.dir/build
|
||||
.PHONY : convert-llama2c-to-ggml/fast
|
||||
|
||||
# target to build an object file
|
||||
convert-llama2c-to-ggml.o:
|
||||
cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f convert-llama2c-to-ggml/CMakeFiles/convert-llama2c-to-ggml.dir/build.make convert-llama2c-to-ggml/CMakeFiles/convert-llama2c-to-ggml.dir/convert-llama2c-to-ggml.o
|
||||
.PHONY : convert-llama2c-to-ggml.o
|
||||
|
||||
# target to preprocess a source file
|
||||
convert-llama2c-to-ggml.i:
|
||||
cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f convert-llama2c-to-ggml/CMakeFiles/convert-llama2c-to-ggml.dir/build.make convert-llama2c-to-ggml/CMakeFiles/convert-llama2c-to-ggml.dir/convert-llama2c-to-ggml.i
|
||||
.PHONY : convert-llama2c-to-ggml.i
|
||||
|
||||
# target to generate assembly for a file
|
||||
convert-llama2c-to-ggml.s:
|
||||
cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f convert-llama2c-to-ggml/CMakeFiles/convert-llama2c-to-ggml.dir/build.make convert-llama2c-to-ggml/CMakeFiles/convert-llama2c-to-ggml.dir/convert-llama2c-to-ggml.s
|
||||
.PHONY : convert-llama2c-to-ggml.s
|
||||
|
||||
# Help Target
|
||||
help:
|
||||
@echo "The following are some of the valid targets for this Makefile:"
|
||||
@echo "... all (the default if no target is provided)"
|
||||
@echo "... clean"
|
||||
@echo "... depend"
|
||||
@echo "... edit_cache"
|
||||
@echo "... install"
|
||||
@echo "... install/local"
|
||||
@echo "... install/strip"
|
||||
@echo "... list_install_components"
|
||||
@echo "... rebuild_cache"
|
||||
@echo "... convert-llama2c-to-ggml"
|
||||
@echo "... convert-llama2c-to-ggml.o"
|
||||
@echo "... convert-llama2c-to-ggml.i"
|
||||
@echo "... convert-llama2c-to-ggml.s"
|
||||
.PHONY : help
|
||||
|
||||
|
||||
|
||||
#=============================================================================
|
||||
# Special targets to cleanup operation of make.
|
||||
|
||||
# Special rule to run CMake to check the build system integrity.
|
||||
# No rule that depends on this can have commands that come from listfiles
|
||||
# because they might be regenerated.
|
||||
cmake_check_build_system:
|
||||
cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(CMAKE_COMMAND) -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0
|
||||
.PHONY : cmake_check_build_system
|
||||
|
60
examples/sycl/convert-llama2c-to-ggml/cmake_install.cmake
Normal file
60
examples/sycl/convert-llama2c-to-ggml/cmake_install.cmake
Normal file
|
@ -0,0 +1,60 @@
|
|||
# Install script for directory: /home/jianyuzh/ws/llama.cpp/develop/examples/convert-llama2c-to-ggml
|
||||
|
||||
# Set the install prefix
|
||||
if(NOT DEFINED CMAKE_INSTALL_PREFIX)
|
||||
set(CMAKE_INSTALL_PREFIX "/usr/local")
|
||||
endif()
|
||||
string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}")
|
||||
|
||||
# Set the install configuration name.
|
||||
if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME)
|
||||
if(BUILD_TYPE)
|
||||
string(REGEX REPLACE "^[^A-Za-z0-9_]+" ""
|
||||
CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}")
|
||||
else()
|
||||
set(CMAKE_INSTALL_CONFIG_NAME "")
|
||||
endif()
|
||||
message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"")
|
||||
endif()
|
||||
|
||||
# Set the component getting installed.
|
||||
if(NOT CMAKE_INSTALL_COMPONENT)
|
||||
if(COMPONENT)
|
||||
message(STATUS "Install component: \"${COMPONENT}\"")
|
||||
set(CMAKE_INSTALL_COMPONENT "${COMPONENT}")
|
||||
else()
|
||||
set(CMAKE_INSTALL_COMPONENT)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
# Install shared libraries without execute permission?
|
||||
if(NOT DEFINED CMAKE_INSTALL_SO_NO_EXE)
|
||||
set(CMAKE_INSTALL_SO_NO_EXE "1")
|
||||
endif()
|
||||
|
||||
# Is this installation the result of a crosscompile?
|
||||
if(NOT DEFINED CMAKE_CROSSCOMPILING)
|
||||
set(CMAKE_CROSSCOMPILING "FALSE")
|
||||
endif()
|
||||
|
||||
# Set default install directory permissions.
|
||||
if(NOT DEFINED CMAKE_OBJDUMP)
|
||||
set(CMAKE_OBJDUMP "/usr/bin/objdump")
|
||||
endif()
|
||||
|
||||
if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT)
|
||||
if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/convert-llama2c-to-ggml" AND
|
||||
NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/convert-llama2c-to-ggml")
|
||||
file(RPATH_CHECK
|
||||
FILE "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/convert-llama2c-to-ggml"
|
||||
RPATH "")
|
||||
endif()
|
||||
file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/bin" TYPE EXECUTABLE FILES "/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/convert-llama2c-to-ggml/convert-llama2c-to-ggml")
|
||||
if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/convert-llama2c-to-ggml" AND
|
||||
NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/convert-llama2c-to-ggml")
|
||||
if(CMAKE_INSTALL_DO_STRIP)
|
||||
execute_process(COMMAND "/usr/bin/strip" "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/convert-llama2c-to-ggml")
|
||||
endif()
|
||||
endif()
|
||||
endif()
|
||||
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue