diff --git a/README_sycl.md b/README_sycl.md index 932b0e929..ddd7de3fc 100644 --- a/README_sycl.md +++ b/README_sycl.md @@ -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** diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt index f67d74c55..e9c738985 100644 --- a/examples/CMakeLists.txt +++ b/examples/CMakeLists.txt @@ -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) diff --git a/examples/sycl/CMakeCache.txt b/examples/sycl/CMakeCache.txt new file mode 100644 index 000000000..c8998b4ac --- /dev/null +++ b/examples/sycl/CMakeCache.txt @@ -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 + diff --git a/examples/sycl/CMakeFiles/3.22.1/CMakeCCompiler.cmake b/examples/sycl/CMakeFiles/3.22.1/CMakeCCompiler.cmake new file mode 100644 index 000000000..0e4cc2218 --- /dev/null +++ b/examples/sycl/CMakeFiles/3.22.1/CMakeCCompiler.cmake @@ -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 "") diff --git a/examples/sycl/CMakeFiles/3.22.1/CMakeCXXCompiler.cmake b/examples/sycl/CMakeFiles/3.22.1/CMakeCXXCompiler.cmake new file mode 100644 index 000000000..379999194 --- /dev/null +++ b/examples/sycl/CMakeFiles/3.22.1/CMakeCXXCompiler.cmake @@ -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 "") diff --git a/examples/sycl/CMakeFiles/3.22.1/CMakeSystem.cmake b/examples/sycl/CMakeFiles/3.22.1/CMakeSystem.cmake new file mode 100644 index 000000000..21d50c58e --- /dev/null +++ b/examples/sycl/CMakeFiles/3.22.1/CMakeSystem.cmake @@ -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) diff --git a/examples/sycl/CMakeFiles/3.22.1/CompilerIdC/CMakeCCompilerId.c b/examples/sycl/CMakeFiles/3.22.1/CompilerIdC/CMakeCCompilerId.c new file mode 100644 index 000000000..41b99d778 --- /dev/null +++ b/examples/sycl/CMakeFiles/3.22.1/CompilerIdC/CMakeCCompilerId.c @@ -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 diff --git a/examples/sycl/CMakeFiles/3.22.1/CompilerIdC/a.out b/examples/sycl/CMakeFiles/3.22.1/CompilerIdC/a.out new file mode 100755 index 000000000..30f4c1c1a Binary files /dev/null and b/examples/sycl/CMakeFiles/3.22.1/CompilerIdC/a.out differ diff --git a/examples/sycl/CMakeFiles/3.22.1/CompilerIdCXX/CMakeCXXCompilerId.cpp b/examples/sycl/CMakeFiles/3.22.1/CompilerIdCXX/CMakeCXXCompilerId.cpp new file mode 100644 index 000000000..25c62a8c3 --- /dev/null +++ b/examples/sycl/CMakeFiles/3.22.1/CompilerIdCXX/CMakeCXXCompilerId.cpp @@ -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; +} diff --git a/examples/sycl/CMakeFiles/3.22.1/CompilerIdCXX/a.out b/examples/sycl/CMakeFiles/3.22.1/CompilerIdCXX/a.out new file mode 100755 index 000000000..5bbad36aa Binary files /dev/null and b/examples/sycl/CMakeFiles/3.22.1/CompilerIdCXX/a.out differ diff --git a/examples/sycl/CMakeFiles/CMakeDirectoryInformation.cmake b/examples/sycl/CMakeFiles/CMakeDirectoryInformation.cmake new file mode 100644 index 000000000..5c593a473 --- /dev/null +++ b/examples/sycl/CMakeFiles/CMakeDirectoryInformation.cmake @@ -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}) diff --git a/examples/sycl/CMakeFiles/Makefile.cmake b/examples/sycl/CMakeFiles/Makefile.cmake new file mode 100644 index 000000000..b7ba0b4b8 --- /dev/null +++ b/examples/sycl/CMakeFiles/Makefile.cmake @@ -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" + ) diff --git a/examples/sycl/CMakeFiles/Makefile2 b/examples/sycl/CMakeFiles/Makefile2 new file mode 100644 index 000000000..27a69e727 --- /dev/null +++ b/examples/sycl/CMakeFiles/Makefile2 @@ -0,0 +1,1239 @@ +# 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 + +#============================================================================= +# 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 + +#============================================================================= +# Directory level rules for the build root directory + +# The main recursive "all" target. +all: baby-llama/all +all: batched/all +all: batched-bench/all +all: beam-search/all +all: benchmark/all +all: convert-llama2c-to-ggml/all +all: embedding/all +all: finetune/all +all: infill/all +all: llama-bench/all +all: llava/all +all: sycl/all +all: main/all +all: tokenize/all +all: parallel/all +all: perplexity/all +all: quantize/all +all: quantize-stats/all +all: save-load-state/all +all: simple/all +all: speculative/all +all: lookahead/all +all: lookup/all +all: train-text-from-scratch/all +all: export-lora/all +.PHONY : all + +# The main recursive "preinstall" target. +preinstall: baby-llama/preinstall +preinstall: batched/preinstall +preinstall: batched-bench/preinstall +preinstall: beam-search/preinstall +preinstall: benchmark/preinstall +preinstall: convert-llama2c-to-ggml/preinstall +preinstall: embedding/preinstall +preinstall: finetune/preinstall +preinstall: infill/preinstall +preinstall: llama-bench/preinstall +preinstall: llava/preinstall +preinstall: sycl/preinstall +preinstall: main/preinstall +preinstall: tokenize/preinstall +preinstall: parallel/preinstall +preinstall: perplexity/preinstall +preinstall: quantize/preinstall +preinstall: quantize-stats/preinstall +preinstall: save-load-state/preinstall +preinstall: simple/preinstall +preinstall: speculative/preinstall +preinstall: lookahead/preinstall +preinstall: lookup/preinstall +preinstall: train-text-from-scratch/preinstall +preinstall: export-lora/preinstall +.PHONY : preinstall + +# The main recursive "clean" target. +clean: baby-llama/clean +clean: batched/clean +clean: batched-bench/clean +clean: beam-search/clean +clean: benchmark/clean +clean: convert-llama2c-to-ggml/clean +clean: embedding/clean +clean: finetune/clean +clean: infill/clean +clean: llama-bench/clean +clean: llava/clean +clean: sycl/clean +clean: main/clean +clean: tokenize/clean +clean: parallel/clean +clean: perplexity/clean +clean: quantize/clean +clean: quantize-stats/clean +clean: save-load-state/clean +clean: simple/clean +clean: speculative/clean +clean: lookahead/clean +clean: lookup/clean +clean: train-text-from-scratch/clean +clean: export-lora/clean +.PHONY : clean + +#============================================================================= +# Directory level rules for directory baby-llama + +# Recursive "all" directory target. +baby-llama/all: baby-llama/CMakeFiles/baby-llama.dir/all +.PHONY : baby-llama/all + +# Recursive "preinstall" directory target. +baby-llama/preinstall: +.PHONY : baby-llama/preinstall + +# Recursive "clean" directory target. +baby-llama/clean: baby-llama/CMakeFiles/baby-llama.dir/clean +.PHONY : baby-llama/clean + +#============================================================================= +# Directory level rules for directory batched + +# Recursive "all" directory target. +batched/all: batched/CMakeFiles/batched.dir/all +.PHONY : batched/all + +# Recursive "preinstall" directory target. +batched/preinstall: +.PHONY : batched/preinstall + +# Recursive "clean" directory target. +batched/clean: batched/CMakeFiles/batched.dir/clean +.PHONY : batched/clean + +#============================================================================= +# Directory level rules for directory batched-bench + +# Recursive "all" directory target. +batched-bench/all: batched-bench/CMakeFiles/batched-bench.dir/all +.PHONY : batched-bench/all + +# Recursive "preinstall" directory target. +batched-bench/preinstall: +.PHONY : batched-bench/preinstall + +# Recursive "clean" directory target. +batched-bench/clean: batched-bench/CMakeFiles/batched-bench.dir/clean +.PHONY : batched-bench/clean + +#============================================================================= +# Directory level rules for directory beam-search + +# Recursive "all" directory target. +beam-search/all: beam-search/CMakeFiles/beam-search.dir/all +.PHONY : beam-search/all + +# Recursive "preinstall" directory target. +beam-search/preinstall: +.PHONY : beam-search/preinstall + +# Recursive "clean" directory target. +beam-search/clean: beam-search/CMakeFiles/beam-search.dir/clean +.PHONY : beam-search/clean + +#============================================================================= +# Directory level rules for directory benchmark + +# Recursive "all" directory target. +benchmark/all: benchmark/CMakeFiles/benchmark.dir/all +.PHONY : benchmark/all + +# Recursive "preinstall" directory target. +benchmark/preinstall: +.PHONY : benchmark/preinstall + +# Recursive "clean" directory target. +benchmark/clean: benchmark/CMakeFiles/benchmark.dir/clean +.PHONY : benchmark/clean + +#============================================================================= +# Directory level rules for directory convert-llama2c-to-ggml + +# Recursive "all" directory target. +convert-llama2c-to-ggml/all: convert-llama2c-to-ggml/CMakeFiles/convert-llama2c-to-ggml.dir/all +.PHONY : convert-llama2c-to-ggml/all + +# Recursive "preinstall" directory target. +convert-llama2c-to-ggml/preinstall: +.PHONY : convert-llama2c-to-ggml/preinstall + +# Recursive "clean" directory target. +convert-llama2c-to-ggml/clean: convert-llama2c-to-ggml/CMakeFiles/convert-llama2c-to-ggml.dir/clean +.PHONY : convert-llama2c-to-ggml/clean + +#============================================================================= +# Directory level rules for directory embedding + +# Recursive "all" directory target. +embedding/all: embedding/CMakeFiles/embedding.dir/all +.PHONY : embedding/all + +# Recursive "preinstall" directory target. +embedding/preinstall: +.PHONY : embedding/preinstall + +# Recursive "clean" directory target. +embedding/clean: embedding/CMakeFiles/embedding.dir/clean +.PHONY : embedding/clean + +#============================================================================= +# Directory level rules for directory export-lora + +# Recursive "all" directory target. +export-lora/all: export-lora/CMakeFiles/export-lora.dir/all +.PHONY : export-lora/all + +# Recursive "preinstall" directory target. +export-lora/preinstall: +.PHONY : export-lora/preinstall + +# Recursive "clean" directory target. +export-lora/clean: export-lora/CMakeFiles/export-lora.dir/clean +.PHONY : export-lora/clean + +#============================================================================= +# Directory level rules for directory finetune + +# Recursive "all" directory target. +finetune/all: finetune/CMakeFiles/finetune.dir/all +.PHONY : finetune/all + +# Recursive "preinstall" directory target. +finetune/preinstall: +.PHONY : finetune/preinstall + +# Recursive "clean" directory target. +finetune/clean: finetune/CMakeFiles/finetune.dir/clean +.PHONY : finetune/clean + +#============================================================================= +# Directory level rules for directory infill + +# Recursive "all" directory target. +infill/all: infill/CMakeFiles/infill.dir/all +.PHONY : infill/all + +# Recursive "preinstall" directory target. +infill/preinstall: +.PHONY : infill/preinstall + +# Recursive "clean" directory target. +infill/clean: infill/CMakeFiles/infill.dir/clean +.PHONY : infill/clean + +#============================================================================= +# Directory level rules for directory llama-bench + +# Recursive "all" directory target. +llama-bench/all: llama-bench/CMakeFiles/llama-bench.dir/all +.PHONY : llama-bench/all + +# Recursive "preinstall" directory target. +llama-bench/preinstall: +.PHONY : llama-bench/preinstall + +# Recursive "clean" directory target. +llama-bench/clean: llama-bench/CMakeFiles/llama-bench.dir/clean +.PHONY : llama-bench/clean + +#============================================================================= +# Directory level rules for directory llava + +# Recursive "all" directory target. +llava/all: llava/CMakeFiles/llava.dir/all +llava/all: llava/CMakeFiles/llava_static.dir/all +llava/all: llava/CMakeFiles/llava-cli.dir/all +.PHONY : llava/all + +# Recursive "preinstall" directory target. +llava/preinstall: +.PHONY : llava/preinstall + +# Recursive "clean" directory target. +llava/clean: llava/CMakeFiles/llava.dir/clean +llava/clean: llava/CMakeFiles/llava_static.dir/clean +llava/clean: llava/CMakeFiles/llava-cli.dir/clean +.PHONY : llava/clean + +#============================================================================= +# Directory level rules for directory lookahead + +# Recursive "all" directory target. +lookahead/all: lookahead/CMakeFiles/lookahead.dir/all +.PHONY : lookahead/all + +# Recursive "preinstall" directory target. +lookahead/preinstall: +.PHONY : lookahead/preinstall + +# Recursive "clean" directory target. +lookahead/clean: lookahead/CMakeFiles/lookahead.dir/clean +.PHONY : lookahead/clean + +#============================================================================= +# Directory level rules for directory lookup + +# Recursive "all" directory target. +lookup/all: lookup/CMakeFiles/lookup.dir/all +.PHONY : lookup/all + +# Recursive "preinstall" directory target. +lookup/preinstall: +.PHONY : lookup/preinstall + +# Recursive "clean" directory target. +lookup/clean: lookup/CMakeFiles/lookup.dir/clean +.PHONY : lookup/clean + +#============================================================================= +# Directory level rules for directory main + +# Recursive "all" directory target. +main/all: main/CMakeFiles/main.dir/all +.PHONY : main/all + +# Recursive "preinstall" directory target. +main/preinstall: +.PHONY : main/preinstall + +# Recursive "clean" directory target. +main/clean: main/CMakeFiles/main.dir/clean +.PHONY : main/clean + +#============================================================================= +# Directory level rules for directory parallel + +# Recursive "all" directory target. +parallel/all: parallel/CMakeFiles/parallel.dir/all +.PHONY : parallel/all + +# Recursive "preinstall" directory target. +parallel/preinstall: +.PHONY : parallel/preinstall + +# Recursive "clean" directory target. +parallel/clean: parallel/CMakeFiles/parallel.dir/clean +.PHONY : parallel/clean + +#============================================================================= +# Directory level rules for directory perplexity + +# Recursive "all" directory target. +perplexity/all: perplexity/CMakeFiles/perplexity.dir/all +.PHONY : perplexity/all + +# Recursive "preinstall" directory target. +perplexity/preinstall: +.PHONY : perplexity/preinstall + +# Recursive "clean" directory target. +perplexity/clean: perplexity/CMakeFiles/perplexity.dir/clean +.PHONY : perplexity/clean + +#============================================================================= +# Directory level rules for directory quantize + +# Recursive "all" directory target. +quantize/all: quantize/CMakeFiles/quantize.dir/all +.PHONY : quantize/all + +# Recursive "preinstall" directory target. +quantize/preinstall: +.PHONY : quantize/preinstall + +# Recursive "clean" directory target. +quantize/clean: quantize/CMakeFiles/quantize.dir/clean +.PHONY : quantize/clean + +#============================================================================= +# Directory level rules for directory quantize-stats + +# Recursive "all" directory target. +quantize-stats/all: quantize-stats/CMakeFiles/quantize-stats.dir/all +.PHONY : quantize-stats/all + +# Recursive "preinstall" directory target. +quantize-stats/preinstall: +.PHONY : quantize-stats/preinstall + +# Recursive "clean" directory target. +quantize-stats/clean: quantize-stats/CMakeFiles/quantize-stats.dir/clean +.PHONY : quantize-stats/clean + +#============================================================================= +# Directory level rules for directory save-load-state + +# Recursive "all" directory target. +save-load-state/all: save-load-state/CMakeFiles/save-load-state.dir/all +.PHONY : save-load-state/all + +# Recursive "preinstall" directory target. +save-load-state/preinstall: +.PHONY : save-load-state/preinstall + +# Recursive "clean" directory target. +save-load-state/clean: save-load-state/CMakeFiles/save-load-state.dir/clean +.PHONY : save-load-state/clean + +#============================================================================= +# Directory level rules for directory simple + +# Recursive "all" directory target. +simple/all: simple/CMakeFiles/simple.dir/all +.PHONY : simple/all + +# Recursive "preinstall" directory target. +simple/preinstall: +.PHONY : simple/preinstall + +# Recursive "clean" directory target. +simple/clean: simple/CMakeFiles/simple.dir/clean +.PHONY : simple/clean + +#============================================================================= +# Directory level rules for directory speculative + +# Recursive "all" directory target. +speculative/all: speculative/CMakeFiles/speculative.dir/all +.PHONY : speculative/all + +# Recursive "preinstall" directory target. +speculative/preinstall: +.PHONY : speculative/preinstall + +# Recursive "clean" directory target. +speculative/clean: speculative/CMakeFiles/speculative.dir/clean +.PHONY : speculative/clean + +#============================================================================= +# Directory level rules for directory sycl + +# Recursive "all" directory target. +sycl/all: sycl/CMakeFiles/ls-sycl-device.dir/all +.PHONY : sycl/all + +# Recursive "preinstall" directory target. +sycl/preinstall: +.PHONY : sycl/preinstall + +# Recursive "clean" directory target. +sycl/clean: sycl/CMakeFiles/ls-sycl-device.dir/clean +.PHONY : sycl/clean + +#============================================================================= +# Directory level rules for directory tokenize + +# Recursive "all" directory target. +tokenize/all: tokenize/CMakeFiles/tokenize.dir/all +.PHONY : tokenize/all + +# Recursive "preinstall" directory target. +tokenize/preinstall: +.PHONY : tokenize/preinstall + +# Recursive "clean" directory target. +tokenize/clean: tokenize/CMakeFiles/tokenize.dir/clean +.PHONY : tokenize/clean + +#============================================================================= +# Directory level rules for directory train-text-from-scratch + +# Recursive "all" directory target. +train-text-from-scratch/all: train-text-from-scratch/CMakeFiles/train-text-from-scratch.dir/all +.PHONY : train-text-from-scratch/all + +# Recursive "preinstall" directory target. +train-text-from-scratch/preinstall: +.PHONY : train-text-from-scratch/preinstall + +# Recursive "clean" directory target. +train-text-from-scratch/clean: train-text-from-scratch/CMakeFiles/train-text-from-scratch.dir/clean +.PHONY : train-text-from-scratch/clean + +#============================================================================= +# Target rules for target baby-llama/CMakeFiles/baby-llama.dir + +# All Build rule for target. +baby-llama/CMakeFiles/baby-llama.dir/all: + $(MAKE) $(MAKESILENT) -f baby-llama/CMakeFiles/baby-llama.dir/build.make baby-llama/CMakeFiles/baby-llama.dir/depend + $(MAKE) $(MAKESILENT) -f baby-llama/CMakeFiles/baby-llama.dir/build.make baby-llama/CMakeFiles/baby-llama.dir/build + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir=/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/CMakeFiles --progress-num=1,2 "Built target baby-llama" +.PHONY : baby-llama/CMakeFiles/baby-llama.dir/all + +# Build rule for subdir invocation for target. +baby-llama/CMakeFiles/baby-llama.dir/rule: cmake_check_build_system + $(CMAKE_COMMAND) -E cmake_progress_start /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/CMakeFiles 2 + $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 baby-llama/CMakeFiles/baby-llama.dir/all + $(CMAKE_COMMAND) -E cmake_progress_start /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/CMakeFiles 0 +.PHONY : baby-llama/CMakeFiles/baby-llama.dir/rule + +# Convenience name for target. +baby-llama: baby-llama/CMakeFiles/baby-llama.dir/rule +.PHONY : baby-llama + +# clean rule for target. +baby-llama/CMakeFiles/baby-llama.dir/clean: + $(MAKE) $(MAKESILENT) -f baby-llama/CMakeFiles/baby-llama.dir/build.make baby-llama/CMakeFiles/baby-llama.dir/clean +.PHONY : baby-llama/CMakeFiles/baby-llama.dir/clean + +#============================================================================= +# Target rules for target batched/CMakeFiles/batched.dir + +# All Build rule for target. +batched/CMakeFiles/batched.dir/all: + $(MAKE) $(MAKESILENT) -f batched/CMakeFiles/batched.dir/build.make batched/CMakeFiles/batched.dir/depend + $(MAKE) $(MAKESILENT) -f batched/CMakeFiles/batched.dir/build.make batched/CMakeFiles/batched.dir/build + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir=/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/CMakeFiles --progress-num=3,4 "Built target batched" +.PHONY : batched/CMakeFiles/batched.dir/all + +# Build rule for subdir invocation for target. +batched/CMakeFiles/batched.dir/rule: cmake_check_build_system + $(CMAKE_COMMAND) -E cmake_progress_start /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/CMakeFiles 2 + $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 batched/CMakeFiles/batched.dir/all + $(CMAKE_COMMAND) -E cmake_progress_start /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/CMakeFiles 0 +.PHONY : batched/CMakeFiles/batched.dir/rule + +# Convenience name for target. +batched: batched/CMakeFiles/batched.dir/rule +.PHONY : batched + +# clean rule for target. +batched/CMakeFiles/batched.dir/clean: + $(MAKE) $(MAKESILENT) -f batched/CMakeFiles/batched.dir/build.make batched/CMakeFiles/batched.dir/clean +.PHONY : batched/CMakeFiles/batched.dir/clean + +#============================================================================= +# Target rules for target batched-bench/CMakeFiles/batched-bench.dir + +# All Build rule for target. +batched-bench/CMakeFiles/batched-bench.dir/all: + $(MAKE) $(MAKESILENT) -f batched-bench/CMakeFiles/batched-bench.dir/build.make batched-bench/CMakeFiles/batched-bench.dir/depend + $(MAKE) $(MAKESILENT) -f batched-bench/CMakeFiles/batched-bench.dir/build.make batched-bench/CMakeFiles/batched-bench.dir/build + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir=/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/CMakeFiles --progress-num=5,6 "Built target batched-bench" +.PHONY : batched-bench/CMakeFiles/batched-bench.dir/all + +# Build rule for subdir invocation for target. +batched-bench/CMakeFiles/batched-bench.dir/rule: cmake_check_build_system + $(CMAKE_COMMAND) -E cmake_progress_start /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/CMakeFiles 2 + $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 batched-bench/CMakeFiles/batched-bench.dir/all + $(CMAKE_COMMAND) -E cmake_progress_start /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/CMakeFiles 0 +.PHONY : batched-bench/CMakeFiles/batched-bench.dir/rule + +# Convenience name for target. +batched-bench: batched-bench/CMakeFiles/batched-bench.dir/rule +.PHONY : batched-bench + +# clean rule for target. +batched-bench/CMakeFiles/batched-bench.dir/clean: + $(MAKE) $(MAKESILENT) -f batched-bench/CMakeFiles/batched-bench.dir/build.make batched-bench/CMakeFiles/batched-bench.dir/clean +.PHONY : batched-bench/CMakeFiles/batched-bench.dir/clean + +#============================================================================= +# Target rules for target beam-search/CMakeFiles/beam-search.dir + +# All Build rule for target. +beam-search/CMakeFiles/beam-search.dir/all: + $(MAKE) $(MAKESILENT) -f beam-search/CMakeFiles/beam-search.dir/build.make beam-search/CMakeFiles/beam-search.dir/depend + $(MAKE) $(MAKESILENT) -f beam-search/CMakeFiles/beam-search.dir/build.make beam-search/CMakeFiles/beam-search.dir/build + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir=/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/CMakeFiles --progress-num=7,8 "Built target beam-search" +.PHONY : beam-search/CMakeFiles/beam-search.dir/all + +# Build rule for subdir invocation for target. +beam-search/CMakeFiles/beam-search.dir/rule: cmake_check_build_system + $(CMAKE_COMMAND) -E cmake_progress_start /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/CMakeFiles 2 + $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 beam-search/CMakeFiles/beam-search.dir/all + $(CMAKE_COMMAND) -E cmake_progress_start /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/CMakeFiles 0 +.PHONY : beam-search/CMakeFiles/beam-search.dir/rule + +# Convenience name for target. +beam-search: beam-search/CMakeFiles/beam-search.dir/rule +.PHONY : beam-search + +# clean rule for target. +beam-search/CMakeFiles/beam-search.dir/clean: + $(MAKE) $(MAKESILENT) -f beam-search/CMakeFiles/beam-search.dir/build.make beam-search/CMakeFiles/beam-search.dir/clean +.PHONY : beam-search/CMakeFiles/beam-search.dir/clean + +#============================================================================= +# Target rules for target benchmark/CMakeFiles/benchmark.dir + +# All Build rule for target. +benchmark/CMakeFiles/benchmark.dir/all: + $(MAKE) $(MAKESILENT) -f benchmark/CMakeFiles/benchmark.dir/build.make benchmark/CMakeFiles/benchmark.dir/depend + $(MAKE) $(MAKESILENT) -f benchmark/CMakeFiles/benchmark.dir/build.make benchmark/CMakeFiles/benchmark.dir/build + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir=/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/CMakeFiles --progress-num=9,10 "Built target benchmark" +.PHONY : benchmark/CMakeFiles/benchmark.dir/all + +# Build rule for subdir invocation for target. +benchmark/CMakeFiles/benchmark.dir/rule: cmake_check_build_system + $(CMAKE_COMMAND) -E cmake_progress_start /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/CMakeFiles 2 + $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 benchmark/CMakeFiles/benchmark.dir/all + $(CMAKE_COMMAND) -E cmake_progress_start /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/CMakeFiles 0 +.PHONY : benchmark/CMakeFiles/benchmark.dir/rule + +# Convenience name for target. +benchmark: benchmark/CMakeFiles/benchmark.dir/rule +.PHONY : benchmark + +# clean rule for target. +benchmark/CMakeFiles/benchmark.dir/clean: + $(MAKE) $(MAKESILENT) -f benchmark/CMakeFiles/benchmark.dir/build.make benchmark/CMakeFiles/benchmark.dir/clean +.PHONY : benchmark/CMakeFiles/benchmark.dir/clean + +#============================================================================= +# Target rules for target convert-llama2c-to-ggml/CMakeFiles/convert-llama2c-to-ggml.dir + +# All Build rule for target. +convert-llama2c-to-ggml/CMakeFiles/convert-llama2c-to-ggml.dir/all: + $(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/depend + $(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 + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir=/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/CMakeFiles --progress-num=11,12 "Built target convert-llama2c-to-ggml" +.PHONY : convert-llama2c-to-ggml/CMakeFiles/convert-llama2c-to-ggml.dir/all + +# Build rule for subdir invocation for target. +convert-llama2c-to-ggml/CMakeFiles/convert-llama2c-to-ggml.dir/rule: cmake_check_build_system + $(CMAKE_COMMAND) -E cmake_progress_start /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/CMakeFiles 2 + $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 convert-llama2c-to-ggml/CMakeFiles/convert-llama2c-to-ggml.dir/all + $(CMAKE_COMMAND) -E cmake_progress_start /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/CMakeFiles 0 +.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 + +# clean rule for target. +convert-llama2c-to-ggml/CMakeFiles/convert-llama2c-to-ggml.dir/clean: + $(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/clean +.PHONY : convert-llama2c-to-ggml/CMakeFiles/convert-llama2c-to-ggml.dir/clean + +#============================================================================= +# Target rules for target embedding/CMakeFiles/embedding.dir + +# All Build rule for target. +embedding/CMakeFiles/embedding.dir/all: + $(MAKE) $(MAKESILENT) -f embedding/CMakeFiles/embedding.dir/build.make embedding/CMakeFiles/embedding.dir/depend + $(MAKE) $(MAKESILENT) -f embedding/CMakeFiles/embedding.dir/build.make embedding/CMakeFiles/embedding.dir/build + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir=/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/CMakeFiles --progress-num=13,14 "Built target embedding" +.PHONY : embedding/CMakeFiles/embedding.dir/all + +# Build rule for subdir invocation for target. +embedding/CMakeFiles/embedding.dir/rule: cmake_check_build_system + $(CMAKE_COMMAND) -E cmake_progress_start /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/CMakeFiles 2 + $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 embedding/CMakeFiles/embedding.dir/all + $(CMAKE_COMMAND) -E cmake_progress_start /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/CMakeFiles 0 +.PHONY : embedding/CMakeFiles/embedding.dir/rule + +# Convenience name for target. +embedding: embedding/CMakeFiles/embedding.dir/rule +.PHONY : embedding + +# clean rule for target. +embedding/CMakeFiles/embedding.dir/clean: + $(MAKE) $(MAKESILENT) -f embedding/CMakeFiles/embedding.dir/build.make embedding/CMakeFiles/embedding.dir/clean +.PHONY : embedding/CMakeFiles/embedding.dir/clean + +#============================================================================= +# Target rules for target finetune/CMakeFiles/finetune.dir + +# All Build rule for target. +finetune/CMakeFiles/finetune.dir/all: + $(MAKE) $(MAKESILENT) -f finetune/CMakeFiles/finetune.dir/build.make finetune/CMakeFiles/finetune.dir/depend + $(MAKE) $(MAKESILENT) -f finetune/CMakeFiles/finetune.dir/build.make finetune/CMakeFiles/finetune.dir/build + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir=/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/CMakeFiles --progress-num=17,18 "Built target finetune" +.PHONY : finetune/CMakeFiles/finetune.dir/all + +# Build rule for subdir invocation for target. +finetune/CMakeFiles/finetune.dir/rule: cmake_check_build_system + $(CMAKE_COMMAND) -E cmake_progress_start /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/CMakeFiles 2 + $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 finetune/CMakeFiles/finetune.dir/all + $(CMAKE_COMMAND) -E cmake_progress_start /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/CMakeFiles 0 +.PHONY : finetune/CMakeFiles/finetune.dir/rule + +# Convenience name for target. +finetune: finetune/CMakeFiles/finetune.dir/rule +.PHONY : finetune + +# clean rule for target. +finetune/CMakeFiles/finetune.dir/clean: + $(MAKE) $(MAKESILENT) -f finetune/CMakeFiles/finetune.dir/build.make finetune/CMakeFiles/finetune.dir/clean +.PHONY : finetune/CMakeFiles/finetune.dir/clean + +#============================================================================= +# Target rules for target infill/CMakeFiles/infill.dir + +# All Build rule for target. +infill/CMakeFiles/infill.dir/all: + $(MAKE) $(MAKESILENT) -f infill/CMakeFiles/infill.dir/build.make infill/CMakeFiles/infill.dir/depend + $(MAKE) $(MAKESILENT) -f infill/CMakeFiles/infill.dir/build.make infill/CMakeFiles/infill.dir/build + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir=/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/CMakeFiles --progress-num=19,20 "Built target infill" +.PHONY : infill/CMakeFiles/infill.dir/all + +# Build rule for subdir invocation for target. +infill/CMakeFiles/infill.dir/rule: cmake_check_build_system + $(CMAKE_COMMAND) -E cmake_progress_start /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/CMakeFiles 2 + $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 infill/CMakeFiles/infill.dir/all + $(CMAKE_COMMAND) -E cmake_progress_start /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/CMakeFiles 0 +.PHONY : infill/CMakeFiles/infill.dir/rule + +# Convenience name for target. +infill: infill/CMakeFiles/infill.dir/rule +.PHONY : infill + +# clean rule for target. +infill/CMakeFiles/infill.dir/clean: + $(MAKE) $(MAKESILENT) -f infill/CMakeFiles/infill.dir/build.make infill/CMakeFiles/infill.dir/clean +.PHONY : infill/CMakeFiles/infill.dir/clean + +#============================================================================= +# Target rules for target llama-bench/CMakeFiles/llama-bench.dir + +# All Build rule for target. +llama-bench/CMakeFiles/llama-bench.dir/all: + $(MAKE) $(MAKESILENT) -f llama-bench/CMakeFiles/llama-bench.dir/build.make llama-bench/CMakeFiles/llama-bench.dir/depend + $(MAKE) $(MAKESILENT) -f llama-bench/CMakeFiles/llama-bench.dir/build.make llama-bench/CMakeFiles/llama-bench.dir/build + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir=/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/CMakeFiles --progress-num=21,22 "Built target llama-bench" +.PHONY : llama-bench/CMakeFiles/llama-bench.dir/all + +# Build rule for subdir invocation for target. +llama-bench/CMakeFiles/llama-bench.dir/rule: cmake_check_build_system + $(CMAKE_COMMAND) -E cmake_progress_start /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/CMakeFiles 2 + $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 llama-bench/CMakeFiles/llama-bench.dir/all + $(CMAKE_COMMAND) -E cmake_progress_start /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/CMakeFiles 0 +.PHONY : llama-bench/CMakeFiles/llama-bench.dir/rule + +# Convenience name for target. +llama-bench: llama-bench/CMakeFiles/llama-bench.dir/rule +.PHONY : llama-bench + +# clean rule for target. +llama-bench/CMakeFiles/llama-bench.dir/clean: + $(MAKE) $(MAKESILENT) -f llama-bench/CMakeFiles/llama-bench.dir/build.make llama-bench/CMakeFiles/llama-bench.dir/clean +.PHONY : llama-bench/CMakeFiles/llama-bench.dir/clean + +#============================================================================= +# Target rules for target llava/CMakeFiles/llava.dir + +# All Build rule for target. +llava/CMakeFiles/llava.dir/all: + $(MAKE) $(MAKESILENT) -f llava/CMakeFiles/llava.dir/build.make llava/CMakeFiles/llava.dir/depend + $(MAKE) $(MAKESILENT) -f llava/CMakeFiles/llava.dir/build.make llava/CMakeFiles/llava.dir/build + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir=/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/CMakeFiles --progress-num=23,24 "Built target llava" +.PHONY : llava/CMakeFiles/llava.dir/all + +# Build rule for subdir invocation for target. +llava/CMakeFiles/llava.dir/rule: cmake_check_build_system + $(CMAKE_COMMAND) -E cmake_progress_start /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/CMakeFiles 2 + $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 llava/CMakeFiles/llava.dir/all + $(CMAKE_COMMAND) -E cmake_progress_start /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/CMakeFiles 0 +.PHONY : llava/CMakeFiles/llava.dir/rule + +# Convenience name for target. +llava: llava/CMakeFiles/llava.dir/rule +.PHONY : llava + +# clean rule for target. +llava/CMakeFiles/llava.dir/clean: + $(MAKE) $(MAKESILENT) -f llava/CMakeFiles/llava.dir/build.make llava/CMakeFiles/llava.dir/clean +.PHONY : llava/CMakeFiles/llava.dir/clean + +#============================================================================= +# Target rules for target llava/CMakeFiles/llava_static.dir + +# All Build rule for target. +llava/CMakeFiles/llava_static.dir/all: llava/CMakeFiles/llava.dir/all + $(MAKE) $(MAKESILENT) -f llava/CMakeFiles/llava_static.dir/build.make llava/CMakeFiles/llava_static.dir/depend + $(MAKE) $(MAKESILENT) -f llava/CMakeFiles/llava_static.dir/build.make llava/CMakeFiles/llava_static.dir/build + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir=/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/CMakeFiles --progress-num=27 "Built target llava_static" +.PHONY : llava/CMakeFiles/llava_static.dir/all + +# Build rule for subdir invocation for target. +llava/CMakeFiles/llava_static.dir/rule: cmake_check_build_system + $(CMAKE_COMMAND) -E cmake_progress_start /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/CMakeFiles 3 + $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 llava/CMakeFiles/llava_static.dir/all + $(CMAKE_COMMAND) -E cmake_progress_start /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/CMakeFiles 0 +.PHONY : llava/CMakeFiles/llava_static.dir/rule + +# Convenience name for target. +llava_static: llava/CMakeFiles/llava_static.dir/rule +.PHONY : llava_static + +# clean rule for target. +llava/CMakeFiles/llava_static.dir/clean: + $(MAKE) $(MAKESILENT) -f llava/CMakeFiles/llava_static.dir/build.make llava/CMakeFiles/llava_static.dir/clean +.PHONY : llava/CMakeFiles/llava_static.dir/clean + +#============================================================================= +# Target rules for target llava/CMakeFiles/llava-cli.dir + +# All Build rule for target. +llava/CMakeFiles/llava-cli.dir/all: llava/CMakeFiles/llava.dir/all + $(MAKE) $(MAKESILENT) -f llava/CMakeFiles/llava-cli.dir/build.make llava/CMakeFiles/llava-cli.dir/depend + $(MAKE) $(MAKESILENT) -f llava/CMakeFiles/llava-cli.dir/build.make llava/CMakeFiles/llava-cli.dir/build + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir=/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/CMakeFiles --progress-num=25,26 "Built target llava-cli" +.PHONY : llava/CMakeFiles/llava-cli.dir/all + +# Build rule for subdir invocation for target. +llava/CMakeFiles/llava-cli.dir/rule: cmake_check_build_system + $(CMAKE_COMMAND) -E cmake_progress_start /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/CMakeFiles 4 + $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 llava/CMakeFiles/llava-cli.dir/all + $(CMAKE_COMMAND) -E cmake_progress_start /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/CMakeFiles 0 +.PHONY : llava/CMakeFiles/llava-cli.dir/rule + +# Convenience name for target. +llava-cli: llava/CMakeFiles/llava-cli.dir/rule +.PHONY : llava-cli + +# clean rule for target. +llava/CMakeFiles/llava-cli.dir/clean: + $(MAKE) $(MAKESILENT) -f llava/CMakeFiles/llava-cli.dir/build.make llava/CMakeFiles/llava-cli.dir/clean +.PHONY : llava/CMakeFiles/llava-cli.dir/clean + +#============================================================================= +# Target rules for target sycl/CMakeFiles/ls-sycl-device.dir + +# All Build rule for target. +sycl/CMakeFiles/ls-sycl-device.dir/all: + $(MAKE) $(MAKESILENT) -f sycl/CMakeFiles/ls-sycl-device.dir/build.make sycl/CMakeFiles/ls-sycl-device.dir/depend + $(MAKE) $(MAKESILENT) -f sycl/CMakeFiles/ls-sycl-device.dir/build.make sycl/CMakeFiles/ls-sycl-device.dir/build + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir=/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/CMakeFiles --progress-num=32,33 "Built target ls-sycl-device" +.PHONY : sycl/CMakeFiles/ls-sycl-device.dir/all + +# Build rule for subdir invocation for target. +sycl/CMakeFiles/ls-sycl-device.dir/rule: cmake_check_build_system + $(CMAKE_COMMAND) -E cmake_progress_start /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/CMakeFiles 2 + $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 sycl/CMakeFiles/ls-sycl-device.dir/all + $(CMAKE_COMMAND) -E cmake_progress_start /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/CMakeFiles 0 +.PHONY : sycl/CMakeFiles/ls-sycl-device.dir/rule + +# Convenience name for target. +ls-sycl-device: sycl/CMakeFiles/ls-sycl-device.dir/rule +.PHONY : ls-sycl-device + +# clean rule for target. +sycl/CMakeFiles/ls-sycl-device.dir/clean: + $(MAKE) $(MAKESILENT) -f sycl/CMakeFiles/ls-sycl-device.dir/build.make sycl/CMakeFiles/ls-sycl-device.dir/clean +.PHONY : sycl/CMakeFiles/ls-sycl-device.dir/clean + +#============================================================================= +# Target rules for target main/CMakeFiles/main.dir + +# All Build rule for target. +main/CMakeFiles/main.dir/all: + $(MAKE) $(MAKESILENT) -f main/CMakeFiles/main.dir/build.make main/CMakeFiles/main.dir/depend + $(MAKE) $(MAKESILENT) -f main/CMakeFiles/main.dir/build.make main/CMakeFiles/main.dir/build + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir=/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/CMakeFiles --progress-num=34,35 "Built target main" +.PHONY : main/CMakeFiles/main.dir/all + +# Build rule for subdir invocation for target. +main/CMakeFiles/main.dir/rule: cmake_check_build_system + $(CMAKE_COMMAND) -E cmake_progress_start /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/CMakeFiles 2 + $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 main/CMakeFiles/main.dir/all + $(CMAKE_COMMAND) -E cmake_progress_start /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/CMakeFiles 0 +.PHONY : main/CMakeFiles/main.dir/rule + +# Convenience name for target. +main: main/CMakeFiles/main.dir/rule +.PHONY : main + +# clean rule for target. +main/CMakeFiles/main.dir/clean: + $(MAKE) $(MAKESILENT) -f main/CMakeFiles/main.dir/build.make main/CMakeFiles/main.dir/clean +.PHONY : main/CMakeFiles/main.dir/clean + +#============================================================================= +# Target rules for target tokenize/CMakeFiles/tokenize.dir + +# All Build rule for target. +tokenize/CMakeFiles/tokenize.dir/all: + $(MAKE) $(MAKESILENT) -f tokenize/CMakeFiles/tokenize.dir/build.make tokenize/CMakeFiles/tokenize.dir/depend + $(MAKE) $(MAKESILENT) -f tokenize/CMakeFiles/tokenize.dir/build.make tokenize/CMakeFiles/tokenize.dir/build + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir=/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/CMakeFiles --progress-num=50,51 "Built target tokenize" +.PHONY : tokenize/CMakeFiles/tokenize.dir/all + +# Build rule for subdir invocation for target. +tokenize/CMakeFiles/tokenize.dir/rule: cmake_check_build_system + $(CMAKE_COMMAND) -E cmake_progress_start /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/CMakeFiles 2 + $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 tokenize/CMakeFiles/tokenize.dir/all + $(CMAKE_COMMAND) -E cmake_progress_start /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/CMakeFiles 0 +.PHONY : tokenize/CMakeFiles/tokenize.dir/rule + +# Convenience name for target. +tokenize: tokenize/CMakeFiles/tokenize.dir/rule +.PHONY : tokenize + +# clean rule for target. +tokenize/CMakeFiles/tokenize.dir/clean: + $(MAKE) $(MAKESILENT) -f tokenize/CMakeFiles/tokenize.dir/build.make tokenize/CMakeFiles/tokenize.dir/clean +.PHONY : tokenize/CMakeFiles/tokenize.dir/clean + +#============================================================================= +# Target rules for target parallel/CMakeFiles/parallel.dir + +# All Build rule for target. +parallel/CMakeFiles/parallel.dir/all: + $(MAKE) $(MAKESILENT) -f parallel/CMakeFiles/parallel.dir/build.make parallel/CMakeFiles/parallel.dir/depend + $(MAKE) $(MAKESILENT) -f parallel/CMakeFiles/parallel.dir/build.make parallel/CMakeFiles/parallel.dir/build + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir=/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/CMakeFiles --progress-num=36,37 "Built target parallel" +.PHONY : parallel/CMakeFiles/parallel.dir/all + +# Build rule for subdir invocation for target. +parallel/CMakeFiles/parallel.dir/rule: cmake_check_build_system + $(CMAKE_COMMAND) -E cmake_progress_start /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/CMakeFiles 2 + $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 parallel/CMakeFiles/parallel.dir/all + $(CMAKE_COMMAND) -E cmake_progress_start /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/CMakeFiles 0 +.PHONY : parallel/CMakeFiles/parallel.dir/rule + +# Convenience name for target. +parallel: parallel/CMakeFiles/parallel.dir/rule +.PHONY : parallel + +# clean rule for target. +parallel/CMakeFiles/parallel.dir/clean: + $(MAKE) $(MAKESILENT) -f parallel/CMakeFiles/parallel.dir/build.make parallel/CMakeFiles/parallel.dir/clean +.PHONY : parallel/CMakeFiles/parallel.dir/clean + +#============================================================================= +# Target rules for target perplexity/CMakeFiles/perplexity.dir + +# All Build rule for target. +perplexity/CMakeFiles/perplexity.dir/all: + $(MAKE) $(MAKESILENT) -f perplexity/CMakeFiles/perplexity.dir/build.make perplexity/CMakeFiles/perplexity.dir/depend + $(MAKE) $(MAKESILENT) -f perplexity/CMakeFiles/perplexity.dir/build.make perplexity/CMakeFiles/perplexity.dir/build + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir=/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/CMakeFiles --progress-num=38,39 "Built target perplexity" +.PHONY : perplexity/CMakeFiles/perplexity.dir/all + +# Build rule for subdir invocation for target. +perplexity/CMakeFiles/perplexity.dir/rule: cmake_check_build_system + $(CMAKE_COMMAND) -E cmake_progress_start /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/CMakeFiles 2 + $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 perplexity/CMakeFiles/perplexity.dir/all + $(CMAKE_COMMAND) -E cmake_progress_start /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/CMakeFiles 0 +.PHONY : perplexity/CMakeFiles/perplexity.dir/rule + +# Convenience name for target. +perplexity: perplexity/CMakeFiles/perplexity.dir/rule +.PHONY : perplexity + +# clean rule for target. +perplexity/CMakeFiles/perplexity.dir/clean: + $(MAKE) $(MAKESILENT) -f perplexity/CMakeFiles/perplexity.dir/build.make perplexity/CMakeFiles/perplexity.dir/clean +.PHONY : perplexity/CMakeFiles/perplexity.dir/clean + +#============================================================================= +# Target rules for target quantize/CMakeFiles/quantize.dir + +# All Build rule for target. +quantize/CMakeFiles/quantize.dir/all: + $(MAKE) $(MAKESILENT) -f quantize/CMakeFiles/quantize.dir/build.make quantize/CMakeFiles/quantize.dir/depend + $(MAKE) $(MAKESILENT) -f quantize/CMakeFiles/quantize.dir/build.make quantize/CMakeFiles/quantize.dir/build + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir=/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/CMakeFiles --progress-num=40,41 "Built target quantize" +.PHONY : quantize/CMakeFiles/quantize.dir/all + +# Build rule for subdir invocation for target. +quantize/CMakeFiles/quantize.dir/rule: cmake_check_build_system + $(CMAKE_COMMAND) -E cmake_progress_start /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/CMakeFiles 2 + $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 quantize/CMakeFiles/quantize.dir/all + $(CMAKE_COMMAND) -E cmake_progress_start /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/CMakeFiles 0 +.PHONY : quantize/CMakeFiles/quantize.dir/rule + +# Convenience name for target. +quantize: quantize/CMakeFiles/quantize.dir/rule +.PHONY : quantize + +# clean rule for target. +quantize/CMakeFiles/quantize.dir/clean: + $(MAKE) $(MAKESILENT) -f quantize/CMakeFiles/quantize.dir/build.make quantize/CMakeFiles/quantize.dir/clean +.PHONY : quantize/CMakeFiles/quantize.dir/clean + +#============================================================================= +# Target rules for target quantize-stats/CMakeFiles/quantize-stats.dir + +# All Build rule for target. +quantize-stats/CMakeFiles/quantize-stats.dir/all: + $(MAKE) $(MAKESILENT) -f quantize-stats/CMakeFiles/quantize-stats.dir/build.make quantize-stats/CMakeFiles/quantize-stats.dir/depend + $(MAKE) $(MAKESILENT) -f quantize-stats/CMakeFiles/quantize-stats.dir/build.make quantize-stats/CMakeFiles/quantize-stats.dir/build + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir=/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/CMakeFiles --progress-num=42,43 "Built target quantize-stats" +.PHONY : quantize-stats/CMakeFiles/quantize-stats.dir/all + +# Build rule for subdir invocation for target. +quantize-stats/CMakeFiles/quantize-stats.dir/rule: cmake_check_build_system + $(CMAKE_COMMAND) -E cmake_progress_start /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/CMakeFiles 2 + $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 quantize-stats/CMakeFiles/quantize-stats.dir/all + $(CMAKE_COMMAND) -E cmake_progress_start /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/CMakeFiles 0 +.PHONY : quantize-stats/CMakeFiles/quantize-stats.dir/rule + +# Convenience name for target. +quantize-stats: quantize-stats/CMakeFiles/quantize-stats.dir/rule +.PHONY : quantize-stats + +# clean rule for target. +quantize-stats/CMakeFiles/quantize-stats.dir/clean: + $(MAKE) $(MAKESILENT) -f quantize-stats/CMakeFiles/quantize-stats.dir/build.make quantize-stats/CMakeFiles/quantize-stats.dir/clean +.PHONY : quantize-stats/CMakeFiles/quantize-stats.dir/clean + +#============================================================================= +# Target rules for target save-load-state/CMakeFiles/save-load-state.dir + +# All Build rule for target. +save-load-state/CMakeFiles/save-load-state.dir/all: + $(MAKE) $(MAKESILENT) -f save-load-state/CMakeFiles/save-load-state.dir/build.make save-load-state/CMakeFiles/save-load-state.dir/depend + $(MAKE) $(MAKESILENT) -f save-load-state/CMakeFiles/save-load-state.dir/build.make save-load-state/CMakeFiles/save-load-state.dir/build + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir=/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/CMakeFiles --progress-num=44,45 "Built target save-load-state" +.PHONY : save-load-state/CMakeFiles/save-load-state.dir/all + +# Build rule for subdir invocation for target. +save-load-state/CMakeFiles/save-load-state.dir/rule: cmake_check_build_system + $(CMAKE_COMMAND) -E cmake_progress_start /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/CMakeFiles 2 + $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 save-load-state/CMakeFiles/save-load-state.dir/all + $(CMAKE_COMMAND) -E cmake_progress_start /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/CMakeFiles 0 +.PHONY : save-load-state/CMakeFiles/save-load-state.dir/rule + +# Convenience name for target. +save-load-state: save-load-state/CMakeFiles/save-load-state.dir/rule +.PHONY : save-load-state + +# clean rule for target. +save-load-state/CMakeFiles/save-load-state.dir/clean: + $(MAKE) $(MAKESILENT) -f save-load-state/CMakeFiles/save-load-state.dir/build.make save-load-state/CMakeFiles/save-load-state.dir/clean +.PHONY : save-load-state/CMakeFiles/save-load-state.dir/clean + +#============================================================================= +# Target rules for target simple/CMakeFiles/simple.dir + +# All Build rule for target. +simple/CMakeFiles/simple.dir/all: + $(MAKE) $(MAKESILENT) -f simple/CMakeFiles/simple.dir/build.make simple/CMakeFiles/simple.dir/depend + $(MAKE) $(MAKESILENT) -f simple/CMakeFiles/simple.dir/build.make simple/CMakeFiles/simple.dir/build + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir=/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/CMakeFiles --progress-num=46,47 "Built target simple" +.PHONY : simple/CMakeFiles/simple.dir/all + +# Build rule for subdir invocation for target. +simple/CMakeFiles/simple.dir/rule: cmake_check_build_system + $(CMAKE_COMMAND) -E cmake_progress_start /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/CMakeFiles 2 + $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 simple/CMakeFiles/simple.dir/all + $(CMAKE_COMMAND) -E cmake_progress_start /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/CMakeFiles 0 +.PHONY : simple/CMakeFiles/simple.dir/rule + +# Convenience name for target. +simple: simple/CMakeFiles/simple.dir/rule +.PHONY : simple + +# clean rule for target. +simple/CMakeFiles/simple.dir/clean: + $(MAKE) $(MAKESILENT) -f simple/CMakeFiles/simple.dir/build.make simple/CMakeFiles/simple.dir/clean +.PHONY : simple/CMakeFiles/simple.dir/clean + +#============================================================================= +# Target rules for target speculative/CMakeFiles/speculative.dir + +# All Build rule for target. +speculative/CMakeFiles/speculative.dir/all: + $(MAKE) $(MAKESILENT) -f speculative/CMakeFiles/speculative.dir/build.make speculative/CMakeFiles/speculative.dir/depend + $(MAKE) $(MAKESILENT) -f speculative/CMakeFiles/speculative.dir/build.make speculative/CMakeFiles/speculative.dir/build + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir=/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/CMakeFiles --progress-num=48,49 "Built target speculative" +.PHONY : speculative/CMakeFiles/speculative.dir/all + +# Build rule for subdir invocation for target. +speculative/CMakeFiles/speculative.dir/rule: cmake_check_build_system + $(CMAKE_COMMAND) -E cmake_progress_start /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/CMakeFiles 2 + $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 speculative/CMakeFiles/speculative.dir/all + $(CMAKE_COMMAND) -E cmake_progress_start /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/CMakeFiles 0 +.PHONY : speculative/CMakeFiles/speculative.dir/rule + +# Convenience name for target. +speculative: speculative/CMakeFiles/speculative.dir/rule +.PHONY : speculative + +# clean rule for target. +speculative/CMakeFiles/speculative.dir/clean: + $(MAKE) $(MAKESILENT) -f speculative/CMakeFiles/speculative.dir/build.make speculative/CMakeFiles/speculative.dir/clean +.PHONY : speculative/CMakeFiles/speculative.dir/clean + +#============================================================================= +# Target rules for target lookahead/CMakeFiles/lookahead.dir + +# All Build rule for target. +lookahead/CMakeFiles/lookahead.dir/all: + $(MAKE) $(MAKESILENT) -f lookahead/CMakeFiles/lookahead.dir/build.make lookahead/CMakeFiles/lookahead.dir/depend + $(MAKE) $(MAKESILENT) -f lookahead/CMakeFiles/lookahead.dir/build.make lookahead/CMakeFiles/lookahead.dir/build + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir=/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/CMakeFiles --progress-num=28,29 "Built target lookahead" +.PHONY : lookahead/CMakeFiles/lookahead.dir/all + +# Build rule for subdir invocation for target. +lookahead/CMakeFiles/lookahead.dir/rule: cmake_check_build_system + $(CMAKE_COMMAND) -E cmake_progress_start /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/CMakeFiles 2 + $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 lookahead/CMakeFiles/lookahead.dir/all + $(CMAKE_COMMAND) -E cmake_progress_start /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/CMakeFiles 0 +.PHONY : lookahead/CMakeFiles/lookahead.dir/rule + +# Convenience name for target. +lookahead: lookahead/CMakeFiles/lookahead.dir/rule +.PHONY : lookahead + +# clean rule for target. +lookahead/CMakeFiles/lookahead.dir/clean: + $(MAKE) $(MAKESILENT) -f lookahead/CMakeFiles/lookahead.dir/build.make lookahead/CMakeFiles/lookahead.dir/clean +.PHONY : lookahead/CMakeFiles/lookahead.dir/clean + +#============================================================================= +# Target rules for target lookup/CMakeFiles/lookup.dir + +# All Build rule for target. +lookup/CMakeFiles/lookup.dir/all: + $(MAKE) $(MAKESILENT) -f lookup/CMakeFiles/lookup.dir/build.make lookup/CMakeFiles/lookup.dir/depend + $(MAKE) $(MAKESILENT) -f lookup/CMakeFiles/lookup.dir/build.make lookup/CMakeFiles/lookup.dir/build + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir=/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/CMakeFiles --progress-num=30,31 "Built target lookup" +.PHONY : lookup/CMakeFiles/lookup.dir/all + +# Build rule for subdir invocation for target. +lookup/CMakeFiles/lookup.dir/rule: cmake_check_build_system + $(CMAKE_COMMAND) -E cmake_progress_start /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/CMakeFiles 2 + $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 lookup/CMakeFiles/lookup.dir/all + $(CMAKE_COMMAND) -E cmake_progress_start /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/CMakeFiles 0 +.PHONY : lookup/CMakeFiles/lookup.dir/rule + +# Convenience name for target. +lookup: lookup/CMakeFiles/lookup.dir/rule +.PHONY : lookup + +# clean rule for target. +lookup/CMakeFiles/lookup.dir/clean: + $(MAKE) $(MAKESILENT) -f lookup/CMakeFiles/lookup.dir/build.make lookup/CMakeFiles/lookup.dir/clean +.PHONY : lookup/CMakeFiles/lookup.dir/clean + +#============================================================================= +# Target rules for target train-text-from-scratch/CMakeFiles/train-text-from-scratch.dir + +# All Build rule for target. +train-text-from-scratch/CMakeFiles/train-text-from-scratch.dir/all: + $(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/depend + $(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 + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir=/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/CMakeFiles --progress-num=52,53 "Built target train-text-from-scratch" +.PHONY : train-text-from-scratch/CMakeFiles/train-text-from-scratch.dir/all + +# Build rule for subdir invocation for target. +train-text-from-scratch/CMakeFiles/train-text-from-scratch.dir/rule: cmake_check_build_system + $(CMAKE_COMMAND) -E cmake_progress_start /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/CMakeFiles 2 + $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 train-text-from-scratch/CMakeFiles/train-text-from-scratch.dir/all + $(CMAKE_COMMAND) -E cmake_progress_start /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/CMakeFiles 0 +.PHONY : train-text-from-scratch/CMakeFiles/train-text-from-scratch.dir/rule + +# Convenience name for target. +train-text-from-scratch: train-text-from-scratch/CMakeFiles/train-text-from-scratch.dir/rule +.PHONY : train-text-from-scratch + +# clean rule for target. +train-text-from-scratch/CMakeFiles/train-text-from-scratch.dir/clean: + $(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/clean +.PHONY : train-text-from-scratch/CMakeFiles/train-text-from-scratch.dir/clean + +#============================================================================= +# Target rules for target export-lora/CMakeFiles/export-lora.dir + +# All Build rule for target. +export-lora/CMakeFiles/export-lora.dir/all: + $(MAKE) $(MAKESILENT) -f export-lora/CMakeFiles/export-lora.dir/build.make export-lora/CMakeFiles/export-lora.dir/depend + $(MAKE) $(MAKESILENT) -f export-lora/CMakeFiles/export-lora.dir/build.make export-lora/CMakeFiles/export-lora.dir/build + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir=/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/CMakeFiles --progress-num=15,16 "Built target export-lora" +.PHONY : export-lora/CMakeFiles/export-lora.dir/all + +# Build rule for subdir invocation for target. +export-lora/CMakeFiles/export-lora.dir/rule: cmake_check_build_system + $(CMAKE_COMMAND) -E cmake_progress_start /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/CMakeFiles 2 + $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 export-lora/CMakeFiles/export-lora.dir/all + $(CMAKE_COMMAND) -E cmake_progress_start /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/CMakeFiles 0 +.PHONY : export-lora/CMakeFiles/export-lora.dir/rule + +# Convenience name for target. +export-lora: export-lora/CMakeFiles/export-lora.dir/rule +.PHONY : export-lora + +# clean rule for target. +export-lora/CMakeFiles/export-lora.dir/clean: + $(MAKE) $(MAKESILENT) -f export-lora/CMakeFiles/export-lora.dir/build.make export-lora/CMakeFiles/export-lora.dir/clean +.PHONY : export-lora/CMakeFiles/export-lora.dir/clean + +#============================================================================= +# 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 + diff --git a/examples/sycl/CMakeFiles/Progress/1 b/examples/sycl/CMakeFiles/Progress/1 new file mode 100644 index 000000000..7b4d68d70 --- /dev/null +++ b/examples/sycl/CMakeFiles/Progress/1 @@ -0,0 +1 @@ +empty \ No newline at end of file diff --git a/examples/sycl/CMakeFiles/Progress/count.txt b/examples/sycl/CMakeFiles/Progress/count.txt new file mode 100644 index 000000000..59343b09e --- /dev/null +++ b/examples/sycl/CMakeFiles/Progress/count.txt @@ -0,0 +1 @@ +53 diff --git a/examples/sycl/CMakeFiles/TargetDirectories.txt b/examples/sycl/CMakeFiles/TargetDirectories.txt new file mode 100644 index 000000000..8c32b6fec --- /dev/null +++ b/examples/sycl/CMakeFiles/TargetDirectories.txt @@ -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 diff --git a/examples/sycl/CMakeFiles/cmake.check_cache b/examples/sycl/CMakeFiles/cmake.check_cache new file mode 100644 index 000000000..3dccd7317 --- /dev/null +++ b/examples/sycl/CMakeFiles/cmake.check_cache @@ -0,0 +1 @@ +# This file is generated by cmake for dependency checking of the CMakeCache.txt file diff --git a/examples/sycl/CMakeFiles/progress.marks b/examples/sycl/CMakeFiles/progress.marks new file mode 100644 index 000000000..59343b09e --- /dev/null +++ b/examples/sycl/CMakeFiles/progress.marks @@ -0,0 +1 @@ +53 diff --git a/examples/sycl/CMakeLists.txt b/examples/sycl/CMakeLists.txt new file mode 100644 index 000000000..aee37f6a1 --- /dev/null +++ b/examples/sycl/CMakeLists.txt @@ -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) \ No newline at end of file diff --git a/examples/sycl/Makefile b/examples/sycl/Makefile new file mode 100644 index 000000000..8db0f04b1 --- /dev/null +++ b/examples/sycl/Makefile @@ -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 + diff --git a/examples/sycl/README.md b/examples/sycl/README.md new file mode 100644 index 000000000..6b38bb8a8 --- /dev/null +++ b/examples/sycl/README.md @@ -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| diff --git a/examples/sycl/baby-llama/CMakeFiles/CMakeDirectoryInformation.cmake b/examples/sycl/baby-llama/CMakeFiles/CMakeDirectoryInformation.cmake new file mode 100644 index 000000000..5c593a473 --- /dev/null +++ b/examples/sycl/baby-llama/CMakeFiles/CMakeDirectoryInformation.cmake @@ -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}) diff --git a/examples/sycl/baby-llama/CMakeFiles/baby-llama.dir/DependInfo.cmake b/examples/sycl/baby-llama/CMakeFiles/baby-llama.dir/DependInfo.cmake new file mode 100644 index 000000000..8a665ff63 --- /dev/null +++ b/examples/sycl/baby-llama/CMakeFiles/baby-llama.dir/DependInfo.cmake @@ -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 "") diff --git a/examples/sycl/baby-llama/CMakeFiles/baby-llama.dir/build.make b/examples/sycl/baby-llama/CMakeFiles/baby-llama.dir/build.make new file mode 100644 index 000000000..99030e77f --- /dev/null +++ b/examples/sycl/baby-llama/CMakeFiles/baby-llama.dir/build.make @@ -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 + diff --git a/examples/sycl/baby-llama/CMakeFiles/baby-llama.dir/cmake_clean.cmake b/examples/sycl/baby-llama/CMakeFiles/baby-llama.dir/cmake_clean.cmake new file mode 100644 index 000000000..6a49649a7 --- /dev/null +++ b/examples/sycl/baby-llama/CMakeFiles/baby-llama.dir/cmake_clean.cmake @@ -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() diff --git a/examples/sycl/baby-llama/CMakeFiles/baby-llama.dir/compiler_depend.make b/examples/sycl/baby-llama/CMakeFiles/baby-llama.dir/compiler_depend.make new file mode 100644 index 000000000..f8bff7f24 --- /dev/null +++ b/examples/sycl/baby-llama/CMakeFiles/baby-llama.dir/compiler_depend.make @@ -0,0 +1,2 @@ +# Empty compiler generated dependencies file for baby-llama. +# This may be replaced when dependencies are built. diff --git a/examples/sycl/baby-llama/CMakeFiles/baby-llama.dir/compiler_depend.ts b/examples/sycl/baby-llama/CMakeFiles/baby-llama.dir/compiler_depend.ts new file mode 100644 index 000000000..2ec3a9c66 --- /dev/null +++ b/examples/sycl/baby-llama/CMakeFiles/baby-llama.dir/compiler_depend.ts @@ -0,0 +1,2 @@ +# CMAKE generated file: DO NOT EDIT! +# Timestamp file for compiler generated dependencies management for baby-llama. diff --git a/examples/sycl/baby-llama/CMakeFiles/baby-llama.dir/depend.make b/examples/sycl/baby-llama/CMakeFiles/baby-llama.dir/depend.make new file mode 100644 index 000000000..b8284dc18 --- /dev/null +++ b/examples/sycl/baby-llama/CMakeFiles/baby-llama.dir/depend.make @@ -0,0 +1,2 @@ +# Empty dependencies file for baby-llama. +# This may be replaced when dependencies are built. diff --git a/examples/sycl/baby-llama/CMakeFiles/baby-llama.dir/flags.make b/examples/sycl/baby-llama/CMakeFiles/baby-llama.dir/flags.make new file mode 100644 index 000000000..6bddd3d69 --- /dev/null +++ b/examples/sycl/baby-llama/CMakeFiles/baby-llama.dir/flags.make @@ -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 = + diff --git a/examples/sycl/baby-llama/CMakeFiles/baby-llama.dir/link.txt b/examples/sycl/baby-llama/CMakeFiles/baby-llama.dir/link.txt new file mode 100644 index 000000000..c9ea6a961 --- /dev/null +++ b/examples/sycl/baby-llama/CMakeFiles/baby-llama.dir/link.txt @@ -0,0 +1 @@ +/opt/intel/oneapi/compiler/2024.0/bin/icpx -rdynamic CMakeFiles/baby-llama.dir/baby-llama.o -o baby-llama -lcommon -lllama diff --git a/examples/sycl/baby-llama/CMakeFiles/baby-llama.dir/progress.make b/examples/sycl/baby-llama/CMakeFiles/baby-llama.dir/progress.make new file mode 100644 index 000000000..abadeb0c3 --- /dev/null +++ b/examples/sycl/baby-llama/CMakeFiles/baby-llama.dir/progress.make @@ -0,0 +1,3 @@ +CMAKE_PROGRESS_1 = 1 +CMAKE_PROGRESS_2 = 2 + diff --git a/examples/sycl/baby-llama/CMakeFiles/progress.marks b/examples/sycl/baby-llama/CMakeFiles/progress.marks new file mode 100644 index 000000000..0cfbf0888 --- /dev/null +++ b/examples/sycl/baby-llama/CMakeFiles/progress.marks @@ -0,0 +1 @@ +2 diff --git a/examples/sycl/baby-llama/Makefile b/examples/sycl/baby-llama/Makefile new file mode 100644 index 000000000..8bf34c6f8 --- /dev/null +++ b/examples/sycl/baby-llama/Makefile @@ -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 + diff --git a/examples/sycl/baby-llama/cmake_install.cmake b/examples/sycl/baby-llama/cmake_install.cmake new file mode 100644 index 000000000..86ee23ec7 --- /dev/null +++ b/examples/sycl/baby-llama/cmake_install.cmake @@ -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() + diff --git a/examples/sycl/batched-bench/CMakeFiles/CMakeDirectoryInformation.cmake b/examples/sycl/batched-bench/CMakeFiles/CMakeDirectoryInformation.cmake new file mode 100644 index 000000000..5c593a473 --- /dev/null +++ b/examples/sycl/batched-bench/CMakeFiles/CMakeDirectoryInformation.cmake @@ -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}) diff --git a/examples/sycl/batched-bench/CMakeFiles/batched-bench.dir/DependInfo.cmake b/examples/sycl/batched-bench/CMakeFiles/batched-bench.dir/DependInfo.cmake new file mode 100644 index 000000000..13582c409 --- /dev/null +++ b/examples/sycl/batched-bench/CMakeFiles/batched-bench.dir/DependInfo.cmake @@ -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 "") diff --git a/examples/sycl/batched-bench/CMakeFiles/batched-bench.dir/build.make b/examples/sycl/batched-bench/CMakeFiles/batched-bench.dir/build.make new file mode 100644 index 000000000..bf64db499 --- /dev/null +++ b/examples/sycl/batched-bench/CMakeFiles/batched-bench.dir/build.make @@ -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 + diff --git a/examples/sycl/batched-bench/CMakeFiles/batched-bench.dir/cmake_clean.cmake b/examples/sycl/batched-bench/CMakeFiles/batched-bench.dir/cmake_clean.cmake new file mode 100644 index 000000000..96618af56 --- /dev/null +++ b/examples/sycl/batched-bench/CMakeFiles/batched-bench.dir/cmake_clean.cmake @@ -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() diff --git a/examples/sycl/batched-bench/CMakeFiles/batched-bench.dir/compiler_depend.make b/examples/sycl/batched-bench/CMakeFiles/batched-bench.dir/compiler_depend.make new file mode 100644 index 000000000..a0119aa94 --- /dev/null +++ b/examples/sycl/batched-bench/CMakeFiles/batched-bench.dir/compiler_depend.make @@ -0,0 +1,2 @@ +# Empty compiler generated dependencies file for batched-bench. +# This may be replaced when dependencies are built. diff --git a/examples/sycl/batched-bench/CMakeFiles/batched-bench.dir/compiler_depend.ts b/examples/sycl/batched-bench/CMakeFiles/batched-bench.dir/compiler_depend.ts new file mode 100644 index 000000000..dce1c2dad --- /dev/null +++ b/examples/sycl/batched-bench/CMakeFiles/batched-bench.dir/compiler_depend.ts @@ -0,0 +1,2 @@ +# CMAKE generated file: DO NOT EDIT! +# Timestamp file for compiler generated dependencies management for batched-bench. diff --git a/examples/sycl/batched-bench/CMakeFiles/batched-bench.dir/depend.make b/examples/sycl/batched-bench/CMakeFiles/batched-bench.dir/depend.make new file mode 100644 index 000000000..163222cab --- /dev/null +++ b/examples/sycl/batched-bench/CMakeFiles/batched-bench.dir/depend.make @@ -0,0 +1,2 @@ +# Empty dependencies file for batched-bench. +# This may be replaced when dependencies are built. diff --git a/examples/sycl/batched-bench/CMakeFiles/batched-bench.dir/flags.make b/examples/sycl/batched-bench/CMakeFiles/batched-bench.dir/flags.make new file mode 100644 index 000000000..6bddd3d69 --- /dev/null +++ b/examples/sycl/batched-bench/CMakeFiles/batched-bench.dir/flags.make @@ -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 = + diff --git a/examples/sycl/batched-bench/CMakeFiles/batched-bench.dir/link.txt b/examples/sycl/batched-bench/CMakeFiles/batched-bench.dir/link.txt new file mode 100644 index 000000000..a2173ac6a --- /dev/null +++ b/examples/sycl/batched-bench/CMakeFiles/batched-bench.dir/link.txt @@ -0,0 +1 @@ +/opt/intel/oneapi/compiler/2024.0/bin/icpx -rdynamic CMakeFiles/batched-bench.dir/batched-bench.o -o batched-bench -lcommon -lllama diff --git a/examples/sycl/batched-bench/CMakeFiles/batched-bench.dir/progress.make b/examples/sycl/batched-bench/CMakeFiles/batched-bench.dir/progress.make new file mode 100644 index 000000000..3a86673aa --- /dev/null +++ b/examples/sycl/batched-bench/CMakeFiles/batched-bench.dir/progress.make @@ -0,0 +1,3 @@ +CMAKE_PROGRESS_1 = 5 +CMAKE_PROGRESS_2 = 6 + diff --git a/examples/sycl/batched-bench/CMakeFiles/progress.marks b/examples/sycl/batched-bench/CMakeFiles/progress.marks new file mode 100644 index 000000000..0cfbf0888 --- /dev/null +++ b/examples/sycl/batched-bench/CMakeFiles/progress.marks @@ -0,0 +1 @@ +2 diff --git a/examples/sycl/batched-bench/Makefile b/examples/sycl/batched-bench/Makefile new file mode 100644 index 000000000..9643d8cd0 --- /dev/null +++ b/examples/sycl/batched-bench/Makefile @@ -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 + diff --git a/examples/sycl/batched-bench/cmake_install.cmake b/examples/sycl/batched-bench/cmake_install.cmake new file mode 100644 index 000000000..baa6e752d --- /dev/null +++ b/examples/sycl/batched-bench/cmake_install.cmake @@ -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() + diff --git a/examples/sycl/batched/CMakeFiles/CMakeDirectoryInformation.cmake b/examples/sycl/batched/CMakeFiles/CMakeDirectoryInformation.cmake new file mode 100644 index 000000000..5c593a473 --- /dev/null +++ b/examples/sycl/batched/CMakeFiles/CMakeDirectoryInformation.cmake @@ -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}) diff --git a/examples/sycl/batched/CMakeFiles/batched.dir/DependInfo.cmake b/examples/sycl/batched/CMakeFiles/batched.dir/DependInfo.cmake new file mode 100644 index 000000000..cfa8cdcb0 --- /dev/null +++ b/examples/sycl/batched/CMakeFiles/batched.dir/DependInfo.cmake @@ -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 "") diff --git a/examples/sycl/batched/CMakeFiles/batched.dir/build.make b/examples/sycl/batched/CMakeFiles/batched.dir/build.make new file mode 100644 index 000000000..b69a5c8e0 --- /dev/null +++ b/examples/sycl/batched/CMakeFiles/batched.dir/build.make @@ -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 + diff --git a/examples/sycl/batched/CMakeFiles/batched.dir/cmake_clean.cmake b/examples/sycl/batched/CMakeFiles/batched.dir/cmake_clean.cmake new file mode 100644 index 000000000..cec64ae00 --- /dev/null +++ b/examples/sycl/batched/CMakeFiles/batched.dir/cmake_clean.cmake @@ -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() diff --git a/examples/sycl/batched/CMakeFiles/batched.dir/compiler_depend.make b/examples/sycl/batched/CMakeFiles/batched.dir/compiler_depend.make new file mode 100644 index 000000000..9a449d364 --- /dev/null +++ b/examples/sycl/batched/CMakeFiles/batched.dir/compiler_depend.make @@ -0,0 +1,2 @@ +# Empty compiler generated dependencies file for batched. +# This may be replaced when dependencies are built. diff --git a/examples/sycl/batched/CMakeFiles/batched.dir/compiler_depend.ts b/examples/sycl/batched/CMakeFiles/batched.dir/compiler_depend.ts new file mode 100644 index 000000000..803668d02 --- /dev/null +++ b/examples/sycl/batched/CMakeFiles/batched.dir/compiler_depend.ts @@ -0,0 +1,2 @@ +# CMAKE generated file: DO NOT EDIT! +# Timestamp file for compiler generated dependencies management for batched. diff --git a/examples/sycl/batched/CMakeFiles/batched.dir/depend.make b/examples/sycl/batched/CMakeFiles/batched.dir/depend.make new file mode 100644 index 000000000..c583466f6 --- /dev/null +++ b/examples/sycl/batched/CMakeFiles/batched.dir/depend.make @@ -0,0 +1,2 @@ +# Empty dependencies file for batched. +# This may be replaced when dependencies are built. diff --git a/examples/sycl/batched/CMakeFiles/batched.dir/flags.make b/examples/sycl/batched/CMakeFiles/batched.dir/flags.make new file mode 100644 index 000000000..6bddd3d69 --- /dev/null +++ b/examples/sycl/batched/CMakeFiles/batched.dir/flags.make @@ -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 = + diff --git a/examples/sycl/batched/CMakeFiles/batched.dir/link.txt b/examples/sycl/batched/CMakeFiles/batched.dir/link.txt new file mode 100644 index 000000000..26eb25de7 --- /dev/null +++ b/examples/sycl/batched/CMakeFiles/batched.dir/link.txt @@ -0,0 +1 @@ +/opt/intel/oneapi/compiler/2024.0/bin/icpx -rdynamic CMakeFiles/batched.dir/batched.o -o batched -lcommon -lllama diff --git a/examples/sycl/batched/CMakeFiles/batched.dir/progress.make b/examples/sycl/batched/CMakeFiles/batched.dir/progress.make new file mode 100644 index 000000000..8c8fb6fbb --- /dev/null +++ b/examples/sycl/batched/CMakeFiles/batched.dir/progress.make @@ -0,0 +1,3 @@ +CMAKE_PROGRESS_1 = 3 +CMAKE_PROGRESS_2 = 4 + diff --git a/examples/sycl/batched/CMakeFiles/progress.marks b/examples/sycl/batched/CMakeFiles/progress.marks new file mode 100644 index 000000000..0cfbf0888 --- /dev/null +++ b/examples/sycl/batched/CMakeFiles/progress.marks @@ -0,0 +1 @@ +2 diff --git a/examples/sycl/batched/Makefile b/examples/sycl/batched/Makefile new file mode 100644 index 000000000..ce954a551 --- /dev/null +++ b/examples/sycl/batched/Makefile @@ -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 + diff --git a/examples/sycl/batched/cmake_install.cmake b/examples/sycl/batched/cmake_install.cmake new file mode 100644 index 000000000..e8c0214cf --- /dev/null +++ b/examples/sycl/batched/cmake_install.cmake @@ -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() + diff --git a/examples/sycl/beam-search/CMakeFiles/CMakeDirectoryInformation.cmake b/examples/sycl/beam-search/CMakeFiles/CMakeDirectoryInformation.cmake new file mode 100644 index 000000000..5c593a473 --- /dev/null +++ b/examples/sycl/beam-search/CMakeFiles/CMakeDirectoryInformation.cmake @@ -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}) diff --git a/examples/sycl/beam-search/CMakeFiles/beam-search.dir/DependInfo.cmake b/examples/sycl/beam-search/CMakeFiles/beam-search.dir/DependInfo.cmake new file mode 100644 index 000000000..7822f7a7c --- /dev/null +++ b/examples/sycl/beam-search/CMakeFiles/beam-search.dir/DependInfo.cmake @@ -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 "") diff --git a/examples/sycl/beam-search/CMakeFiles/beam-search.dir/build.make b/examples/sycl/beam-search/CMakeFiles/beam-search.dir/build.make new file mode 100644 index 000000000..e462d1b34 --- /dev/null +++ b/examples/sycl/beam-search/CMakeFiles/beam-search.dir/build.make @@ -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 + diff --git a/examples/sycl/beam-search/CMakeFiles/beam-search.dir/cmake_clean.cmake b/examples/sycl/beam-search/CMakeFiles/beam-search.dir/cmake_clean.cmake new file mode 100644 index 000000000..e28d241a2 --- /dev/null +++ b/examples/sycl/beam-search/CMakeFiles/beam-search.dir/cmake_clean.cmake @@ -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() diff --git a/examples/sycl/beam-search/CMakeFiles/beam-search.dir/compiler_depend.make b/examples/sycl/beam-search/CMakeFiles/beam-search.dir/compiler_depend.make new file mode 100644 index 000000000..7b9ac2558 --- /dev/null +++ b/examples/sycl/beam-search/CMakeFiles/beam-search.dir/compiler_depend.make @@ -0,0 +1,2 @@ +# Empty compiler generated dependencies file for beam-search. +# This may be replaced when dependencies are built. diff --git a/examples/sycl/beam-search/CMakeFiles/beam-search.dir/compiler_depend.ts b/examples/sycl/beam-search/CMakeFiles/beam-search.dir/compiler_depend.ts new file mode 100644 index 000000000..1117fb6f8 --- /dev/null +++ b/examples/sycl/beam-search/CMakeFiles/beam-search.dir/compiler_depend.ts @@ -0,0 +1,2 @@ +# CMAKE generated file: DO NOT EDIT! +# Timestamp file for compiler generated dependencies management for beam-search. diff --git a/examples/sycl/beam-search/CMakeFiles/beam-search.dir/depend.make b/examples/sycl/beam-search/CMakeFiles/beam-search.dir/depend.make new file mode 100644 index 000000000..37ec7a3f8 --- /dev/null +++ b/examples/sycl/beam-search/CMakeFiles/beam-search.dir/depend.make @@ -0,0 +1,2 @@ +# Empty dependencies file for beam-search. +# This may be replaced when dependencies are built. diff --git a/examples/sycl/beam-search/CMakeFiles/beam-search.dir/flags.make b/examples/sycl/beam-search/CMakeFiles/beam-search.dir/flags.make new file mode 100644 index 000000000..6bddd3d69 --- /dev/null +++ b/examples/sycl/beam-search/CMakeFiles/beam-search.dir/flags.make @@ -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 = + diff --git a/examples/sycl/beam-search/CMakeFiles/beam-search.dir/link.txt b/examples/sycl/beam-search/CMakeFiles/beam-search.dir/link.txt new file mode 100644 index 000000000..1acfe16a7 --- /dev/null +++ b/examples/sycl/beam-search/CMakeFiles/beam-search.dir/link.txt @@ -0,0 +1 @@ +/opt/intel/oneapi/compiler/2024.0/bin/icpx -rdynamic CMakeFiles/beam-search.dir/beam-search.o -o beam-search -lcommon -lllama diff --git a/examples/sycl/beam-search/CMakeFiles/beam-search.dir/progress.make b/examples/sycl/beam-search/CMakeFiles/beam-search.dir/progress.make new file mode 100644 index 000000000..72bb7dd02 --- /dev/null +++ b/examples/sycl/beam-search/CMakeFiles/beam-search.dir/progress.make @@ -0,0 +1,3 @@ +CMAKE_PROGRESS_1 = 7 +CMAKE_PROGRESS_2 = 8 + diff --git a/examples/sycl/beam-search/CMakeFiles/progress.marks b/examples/sycl/beam-search/CMakeFiles/progress.marks new file mode 100644 index 000000000..0cfbf0888 --- /dev/null +++ b/examples/sycl/beam-search/CMakeFiles/progress.marks @@ -0,0 +1 @@ +2 diff --git a/examples/sycl/beam-search/Makefile b/examples/sycl/beam-search/Makefile new file mode 100644 index 000000000..a1a902339 --- /dev/null +++ b/examples/sycl/beam-search/Makefile @@ -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 + diff --git a/examples/sycl/beam-search/cmake_install.cmake b/examples/sycl/beam-search/cmake_install.cmake new file mode 100644 index 000000000..33cf7cf46 --- /dev/null +++ b/examples/sycl/beam-search/cmake_install.cmake @@ -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() + diff --git a/examples/sycl/benchmark/CMakeFiles/CMakeDirectoryInformation.cmake b/examples/sycl/benchmark/CMakeFiles/CMakeDirectoryInformation.cmake new file mode 100644 index 000000000..5c593a473 --- /dev/null +++ b/examples/sycl/benchmark/CMakeFiles/CMakeDirectoryInformation.cmake @@ -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}) diff --git a/examples/sycl/benchmark/CMakeFiles/benchmark.dir/DependInfo.cmake b/examples/sycl/benchmark/CMakeFiles/benchmark.dir/DependInfo.cmake new file mode 100644 index 000000000..25e6406f3 --- /dev/null +++ b/examples/sycl/benchmark/CMakeFiles/benchmark.dir/DependInfo.cmake @@ -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 "") diff --git a/examples/sycl/benchmark/CMakeFiles/benchmark.dir/build.make b/examples/sycl/benchmark/CMakeFiles/benchmark.dir/build.make new file mode 100644 index 000000000..84fb06db4 --- /dev/null +++ b/examples/sycl/benchmark/CMakeFiles/benchmark.dir/build.make @@ -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 + diff --git a/examples/sycl/benchmark/CMakeFiles/benchmark.dir/cmake_clean.cmake b/examples/sycl/benchmark/CMakeFiles/benchmark.dir/cmake_clean.cmake new file mode 100644 index 000000000..870df51f8 --- /dev/null +++ b/examples/sycl/benchmark/CMakeFiles/benchmark.dir/cmake_clean.cmake @@ -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() diff --git a/examples/sycl/benchmark/CMakeFiles/benchmark.dir/compiler_depend.make b/examples/sycl/benchmark/CMakeFiles/benchmark.dir/compiler_depend.make new file mode 100644 index 000000000..871e0bce5 --- /dev/null +++ b/examples/sycl/benchmark/CMakeFiles/benchmark.dir/compiler_depend.make @@ -0,0 +1,2 @@ +# Empty compiler generated dependencies file for benchmark. +# This may be replaced when dependencies are built. diff --git a/examples/sycl/benchmark/CMakeFiles/benchmark.dir/compiler_depend.ts b/examples/sycl/benchmark/CMakeFiles/benchmark.dir/compiler_depend.ts new file mode 100644 index 000000000..66ee2110c --- /dev/null +++ b/examples/sycl/benchmark/CMakeFiles/benchmark.dir/compiler_depend.ts @@ -0,0 +1,2 @@ +# CMAKE generated file: DO NOT EDIT! +# Timestamp file for compiler generated dependencies management for benchmark. diff --git a/examples/sycl/benchmark/CMakeFiles/benchmark.dir/depend.make b/examples/sycl/benchmark/CMakeFiles/benchmark.dir/depend.make new file mode 100644 index 000000000..71cca2eea --- /dev/null +++ b/examples/sycl/benchmark/CMakeFiles/benchmark.dir/depend.make @@ -0,0 +1,2 @@ +# Empty dependencies file for benchmark. +# This may be replaced when dependencies are built. diff --git a/examples/sycl/benchmark/CMakeFiles/benchmark.dir/flags.make b/examples/sycl/benchmark/CMakeFiles/benchmark.dir/flags.make new file mode 100644 index 000000000..d799cee98 --- /dev/null +++ b/examples/sycl/benchmark/CMakeFiles/benchmark.dir/flags.make @@ -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 = + diff --git a/examples/sycl/benchmark/CMakeFiles/benchmark.dir/link.txt b/examples/sycl/benchmark/CMakeFiles/benchmark.dir/link.txt new file mode 100644 index 000000000..f5f38e36c --- /dev/null +++ b/examples/sycl/benchmark/CMakeFiles/benchmark.dir/link.txt @@ -0,0 +1 @@ +/opt/intel/oneapi/compiler/2024.0/bin/icpx -rdynamic CMakeFiles/benchmark.dir/benchmark-matmult.o -o benchmark -lllama -lbuild_info diff --git a/examples/sycl/benchmark/CMakeFiles/benchmark.dir/progress.make b/examples/sycl/benchmark/CMakeFiles/benchmark.dir/progress.make new file mode 100644 index 000000000..b700c2c90 --- /dev/null +++ b/examples/sycl/benchmark/CMakeFiles/benchmark.dir/progress.make @@ -0,0 +1,3 @@ +CMAKE_PROGRESS_1 = 9 +CMAKE_PROGRESS_2 = 10 + diff --git a/examples/sycl/benchmark/CMakeFiles/progress.marks b/examples/sycl/benchmark/CMakeFiles/progress.marks new file mode 100644 index 000000000..0cfbf0888 --- /dev/null +++ b/examples/sycl/benchmark/CMakeFiles/progress.marks @@ -0,0 +1 @@ +2 diff --git a/examples/sycl/benchmark/Makefile b/examples/sycl/benchmark/Makefile new file mode 100644 index 000000000..68795570e --- /dev/null +++ b/examples/sycl/benchmark/Makefile @@ -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 + diff --git a/examples/sycl/benchmark/cmake_install.cmake b/examples/sycl/benchmark/cmake_install.cmake new file mode 100644 index 000000000..d2a89c992 --- /dev/null +++ b/examples/sycl/benchmark/cmake_install.cmake @@ -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() + diff --git a/examples/sycl/cmake_install.cmake b/examples/sycl/cmake_install.cmake new file mode 100644 index 000000000..e365c411d --- /dev/null +++ b/examples/sycl/cmake_install.cmake @@ -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}") diff --git a/examples/sycl/convert-llama2c-to-ggml/CMakeFiles/CMakeDirectoryInformation.cmake b/examples/sycl/convert-llama2c-to-ggml/CMakeFiles/CMakeDirectoryInformation.cmake new file mode 100644 index 000000000..5c593a473 --- /dev/null +++ b/examples/sycl/convert-llama2c-to-ggml/CMakeFiles/CMakeDirectoryInformation.cmake @@ -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}) diff --git a/examples/sycl/convert-llama2c-to-ggml/CMakeFiles/convert-llama2c-to-ggml.dir/DependInfo.cmake b/examples/sycl/convert-llama2c-to-ggml/CMakeFiles/convert-llama2c-to-ggml.dir/DependInfo.cmake new file mode 100644 index 000000000..54c704ca3 --- /dev/null +++ b/examples/sycl/convert-llama2c-to-ggml/CMakeFiles/convert-llama2c-to-ggml.dir/DependInfo.cmake @@ -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 "") diff --git a/examples/sycl/convert-llama2c-to-ggml/CMakeFiles/convert-llama2c-to-ggml.dir/build.make b/examples/sycl/convert-llama2c-to-ggml/CMakeFiles/convert-llama2c-to-ggml.dir/build.make new file mode 100644 index 000000000..ee8cc8e19 --- /dev/null +++ b/examples/sycl/convert-llama2c-to-ggml/CMakeFiles/convert-llama2c-to-ggml.dir/build.make @@ -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 + diff --git a/examples/sycl/convert-llama2c-to-ggml/CMakeFiles/convert-llama2c-to-ggml.dir/cmake_clean.cmake b/examples/sycl/convert-llama2c-to-ggml/CMakeFiles/convert-llama2c-to-ggml.dir/cmake_clean.cmake new file mode 100644 index 000000000..27a9734b5 --- /dev/null +++ b/examples/sycl/convert-llama2c-to-ggml/CMakeFiles/convert-llama2c-to-ggml.dir/cmake_clean.cmake @@ -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() diff --git a/examples/sycl/convert-llama2c-to-ggml/CMakeFiles/convert-llama2c-to-ggml.dir/compiler_depend.make b/examples/sycl/convert-llama2c-to-ggml/CMakeFiles/convert-llama2c-to-ggml.dir/compiler_depend.make new file mode 100644 index 000000000..0c7de424c --- /dev/null +++ b/examples/sycl/convert-llama2c-to-ggml/CMakeFiles/convert-llama2c-to-ggml.dir/compiler_depend.make @@ -0,0 +1,2 @@ +# Empty compiler generated dependencies file for convert-llama2c-to-ggml. +# This may be replaced when dependencies are built. diff --git a/examples/sycl/convert-llama2c-to-ggml/CMakeFiles/convert-llama2c-to-ggml.dir/compiler_depend.ts b/examples/sycl/convert-llama2c-to-ggml/CMakeFiles/convert-llama2c-to-ggml.dir/compiler_depend.ts new file mode 100644 index 000000000..4db962ade --- /dev/null +++ b/examples/sycl/convert-llama2c-to-ggml/CMakeFiles/convert-llama2c-to-ggml.dir/compiler_depend.ts @@ -0,0 +1,2 @@ +# CMAKE generated file: DO NOT EDIT! +# Timestamp file for compiler generated dependencies management for convert-llama2c-to-ggml. diff --git a/examples/sycl/convert-llama2c-to-ggml/CMakeFiles/convert-llama2c-to-ggml.dir/depend.make b/examples/sycl/convert-llama2c-to-ggml/CMakeFiles/convert-llama2c-to-ggml.dir/depend.make new file mode 100644 index 000000000..7a48cf562 --- /dev/null +++ b/examples/sycl/convert-llama2c-to-ggml/CMakeFiles/convert-llama2c-to-ggml.dir/depend.make @@ -0,0 +1,2 @@ +# Empty dependencies file for convert-llama2c-to-ggml. +# This may be replaced when dependencies are built. diff --git a/examples/sycl/convert-llama2c-to-ggml/CMakeFiles/convert-llama2c-to-ggml.dir/flags.make b/examples/sycl/convert-llama2c-to-ggml/CMakeFiles/convert-llama2c-to-ggml.dir/flags.make new file mode 100644 index 000000000..6bddd3d69 --- /dev/null +++ b/examples/sycl/convert-llama2c-to-ggml/CMakeFiles/convert-llama2c-to-ggml.dir/flags.make @@ -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 = + diff --git a/examples/sycl/convert-llama2c-to-ggml/CMakeFiles/convert-llama2c-to-ggml.dir/link.txt b/examples/sycl/convert-llama2c-to-ggml/CMakeFiles/convert-llama2c-to-ggml.dir/link.txt new file mode 100644 index 000000000..fadbf2651 --- /dev/null +++ b/examples/sycl/convert-llama2c-to-ggml/CMakeFiles/convert-llama2c-to-ggml.dir/link.txt @@ -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 diff --git a/examples/sycl/convert-llama2c-to-ggml/CMakeFiles/convert-llama2c-to-ggml.dir/progress.make b/examples/sycl/convert-llama2c-to-ggml/CMakeFiles/convert-llama2c-to-ggml.dir/progress.make new file mode 100644 index 000000000..596289c0f --- /dev/null +++ b/examples/sycl/convert-llama2c-to-ggml/CMakeFiles/convert-llama2c-to-ggml.dir/progress.make @@ -0,0 +1,3 @@ +CMAKE_PROGRESS_1 = 11 +CMAKE_PROGRESS_2 = 12 + diff --git a/examples/sycl/convert-llama2c-to-ggml/CMakeFiles/progress.marks b/examples/sycl/convert-llama2c-to-ggml/CMakeFiles/progress.marks new file mode 100644 index 000000000..0cfbf0888 --- /dev/null +++ b/examples/sycl/convert-llama2c-to-ggml/CMakeFiles/progress.marks @@ -0,0 +1 @@ +2 diff --git a/examples/sycl/convert-llama2c-to-ggml/Makefile b/examples/sycl/convert-llama2c-to-ggml/Makefile new file mode 100644 index 000000000..37c3f05fd --- /dev/null +++ b/examples/sycl/convert-llama2c-to-ggml/Makefile @@ -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 + diff --git a/examples/sycl/convert-llama2c-to-ggml/cmake_install.cmake b/examples/sycl/convert-llama2c-to-ggml/cmake_install.cmake new file mode 100644 index 000000000..4e812cd01 --- /dev/null +++ b/examples/sycl/convert-llama2c-to-ggml/cmake_install.cmake @@ -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() + diff --git a/examples/sycl/embedding/CMakeFiles/CMakeDirectoryInformation.cmake b/examples/sycl/embedding/CMakeFiles/CMakeDirectoryInformation.cmake new file mode 100644 index 000000000..5c593a473 --- /dev/null +++ b/examples/sycl/embedding/CMakeFiles/CMakeDirectoryInformation.cmake @@ -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}) diff --git a/examples/sycl/embedding/CMakeFiles/embedding.dir/DependInfo.cmake b/examples/sycl/embedding/CMakeFiles/embedding.dir/DependInfo.cmake new file mode 100644 index 000000000..212c12d98 --- /dev/null +++ b/examples/sycl/embedding/CMakeFiles/embedding.dir/DependInfo.cmake @@ -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/embedding/embedding.cpp" "embedding/CMakeFiles/embedding.dir/embedding.o" "gcc" "embedding/CMakeFiles/embedding.dir/embedding.o.d" + ) + +# Targets to which this target links. +set(CMAKE_TARGET_LINKED_INFO_FILES + ) + +# Fortran module output directory. +set(CMAKE_Fortran_TARGET_MODULE_DIR "") diff --git a/examples/sycl/embedding/CMakeFiles/embedding.dir/build.make b/examples/sycl/embedding/CMakeFiles/embedding.dir/build.make new file mode 100644 index 000000000..a5788eed1 --- /dev/null +++ b/examples/sycl/embedding/CMakeFiles/embedding.dir/build.make @@ -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 embedding/CMakeFiles/embedding.dir/depend.make +# Include any dependencies generated by the compiler for this target. +include embedding/CMakeFiles/embedding.dir/compiler_depend.make + +# Include the progress variables for this target. +include embedding/CMakeFiles/embedding.dir/progress.make + +# Include the compile flags for this target's objects. +include embedding/CMakeFiles/embedding.dir/flags.make + +embedding/CMakeFiles/embedding.dir/embedding.o: embedding/CMakeFiles/embedding.dir/flags.make +embedding/CMakeFiles/embedding.dir/embedding.o: ../embedding/embedding.cpp +embedding/CMakeFiles/embedding.dir/embedding.o: embedding/CMakeFiles/embedding.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 embedding/CMakeFiles/embedding.dir/embedding.o" + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/embedding && /opt/intel/oneapi/compiler/2024.0/bin/icpx $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -MD -MT embedding/CMakeFiles/embedding.dir/embedding.o -MF CMakeFiles/embedding.dir/embedding.o.d -o CMakeFiles/embedding.dir/embedding.o -c /home/jianyuzh/ws/llama.cpp/develop/examples/embedding/embedding.cpp + +embedding/CMakeFiles/embedding.dir/embedding.i: cmake_force + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/embedding.dir/embedding.i" + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/embedding && /opt/intel/oneapi/compiler/2024.0/bin/icpx $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /home/jianyuzh/ws/llama.cpp/develop/examples/embedding/embedding.cpp > CMakeFiles/embedding.dir/embedding.i + +embedding/CMakeFiles/embedding.dir/embedding.s: cmake_force + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/embedding.dir/embedding.s" + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/embedding && /opt/intel/oneapi/compiler/2024.0/bin/icpx $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /home/jianyuzh/ws/llama.cpp/develop/examples/embedding/embedding.cpp -o CMakeFiles/embedding.dir/embedding.s + +# Object files for target embedding +embedding_OBJECTS = \ +"CMakeFiles/embedding.dir/embedding.o" + +# External object files for target embedding +embedding_EXTERNAL_OBJECTS = + +embedding/embedding: embedding/CMakeFiles/embedding.dir/embedding.o +embedding/embedding: embedding/CMakeFiles/embedding.dir/build.make +embedding/embedding: embedding/CMakeFiles/embedding.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 embedding" + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/embedding && $(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/embedding.dir/link.txt --verbose=$(VERBOSE) + +# Rule to build all files generated by this target. +embedding/CMakeFiles/embedding.dir/build: embedding/embedding +.PHONY : embedding/CMakeFiles/embedding.dir/build + +embedding/CMakeFiles/embedding.dir/clean: + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/embedding && $(CMAKE_COMMAND) -P CMakeFiles/embedding.dir/cmake_clean.cmake +.PHONY : embedding/CMakeFiles/embedding.dir/clean + +embedding/CMakeFiles/embedding.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/embedding /home/jianyuzh/ws/llama.cpp/develop/examples/sycl /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/embedding /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/embedding/CMakeFiles/embedding.dir/DependInfo.cmake --color=$(COLOR) +.PHONY : embedding/CMakeFiles/embedding.dir/depend + diff --git a/examples/sycl/embedding/CMakeFiles/embedding.dir/cmake_clean.cmake b/examples/sycl/embedding/CMakeFiles/embedding.dir/cmake_clean.cmake new file mode 100644 index 000000000..e6d17db5d --- /dev/null +++ b/examples/sycl/embedding/CMakeFiles/embedding.dir/cmake_clean.cmake @@ -0,0 +1,11 @@ +file(REMOVE_RECURSE + "CMakeFiles/embedding.dir/embedding.o" + "CMakeFiles/embedding.dir/embedding.o.d" + "embedding" + "embedding.pdb" +) + +# Per-language clean rules from dependency scanning. +foreach(lang CXX) + include(CMakeFiles/embedding.dir/cmake_clean_${lang}.cmake OPTIONAL) +endforeach() diff --git a/examples/sycl/embedding/CMakeFiles/embedding.dir/compiler_depend.make b/examples/sycl/embedding/CMakeFiles/embedding.dir/compiler_depend.make new file mode 100644 index 000000000..51d484f9f --- /dev/null +++ b/examples/sycl/embedding/CMakeFiles/embedding.dir/compiler_depend.make @@ -0,0 +1,2 @@ +# Empty compiler generated dependencies file for embedding. +# This may be replaced when dependencies are built. diff --git a/examples/sycl/embedding/CMakeFiles/embedding.dir/compiler_depend.ts b/examples/sycl/embedding/CMakeFiles/embedding.dir/compiler_depend.ts new file mode 100644 index 000000000..af47aa36d --- /dev/null +++ b/examples/sycl/embedding/CMakeFiles/embedding.dir/compiler_depend.ts @@ -0,0 +1,2 @@ +# CMAKE generated file: DO NOT EDIT! +# Timestamp file for compiler generated dependencies management for embedding. diff --git a/examples/sycl/embedding/CMakeFiles/embedding.dir/depend.make b/examples/sycl/embedding/CMakeFiles/embedding.dir/depend.make new file mode 100644 index 000000000..12b2e39ad --- /dev/null +++ b/examples/sycl/embedding/CMakeFiles/embedding.dir/depend.make @@ -0,0 +1,2 @@ +# Empty dependencies file for embedding. +# This may be replaced when dependencies are built. diff --git a/examples/sycl/embedding/CMakeFiles/embedding.dir/flags.make b/examples/sycl/embedding/CMakeFiles/embedding.dir/flags.make new file mode 100644 index 000000000..6bddd3d69 --- /dev/null +++ b/examples/sycl/embedding/CMakeFiles/embedding.dir/flags.make @@ -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 = + diff --git a/examples/sycl/embedding/CMakeFiles/embedding.dir/link.txt b/examples/sycl/embedding/CMakeFiles/embedding.dir/link.txt new file mode 100644 index 000000000..7d5713ba9 --- /dev/null +++ b/examples/sycl/embedding/CMakeFiles/embedding.dir/link.txt @@ -0,0 +1 @@ +/opt/intel/oneapi/compiler/2024.0/bin/icpx -rdynamic CMakeFiles/embedding.dir/embedding.o -o embedding -lcommon -lllama diff --git a/examples/sycl/embedding/CMakeFiles/embedding.dir/progress.make b/examples/sycl/embedding/CMakeFiles/embedding.dir/progress.make new file mode 100644 index 000000000..d92f75a29 --- /dev/null +++ b/examples/sycl/embedding/CMakeFiles/embedding.dir/progress.make @@ -0,0 +1,3 @@ +CMAKE_PROGRESS_1 = 13 +CMAKE_PROGRESS_2 = 14 + diff --git a/examples/sycl/embedding/CMakeFiles/progress.marks b/examples/sycl/embedding/CMakeFiles/progress.marks new file mode 100644 index 000000000..0cfbf0888 --- /dev/null +++ b/examples/sycl/embedding/CMakeFiles/progress.marks @@ -0,0 +1 @@ +2 diff --git a/examples/sycl/embedding/Makefile b/examples/sycl/embedding/Makefile new file mode 100644 index 000000000..588a49a8d --- /dev/null +++ b/examples/sycl/embedding/Makefile @@ -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/embedding//CMakeFiles/progress.marks + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 embedding/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 embedding/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 embedding/preinstall +.PHONY : preinstall + +# Prepare targets for installation. +preinstall/fast: + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 embedding/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. +embedding/CMakeFiles/embedding.dir/rule: + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 embedding/CMakeFiles/embedding.dir/rule +.PHONY : embedding/CMakeFiles/embedding.dir/rule + +# Convenience name for target. +embedding: embedding/CMakeFiles/embedding.dir/rule +.PHONY : embedding + +# fast build rule for target. +embedding/fast: + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f embedding/CMakeFiles/embedding.dir/build.make embedding/CMakeFiles/embedding.dir/build +.PHONY : embedding/fast + +# target to build an object file +embedding.o: + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f embedding/CMakeFiles/embedding.dir/build.make embedding/CMakeFiles/embedding.dir/embedding.o +.PHONY : embedding.o + +# target to preprocess a source file +embedding.i: + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f embedding/CMakeFiles/embedding.dir/build.make embedding/CMakeFiles/embedding.dir/embedding.i +.PHONY : embedding.i + +# target to generate assembly for a file +embedding.s: + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f embedding/CMakeFiles/embedding.dir/build.make embedding/CMakeFiles/embedding.dir/embedding.s +.PHONY : embedding.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 "... embedding" + @echo "... embedding.o" + @echo "... embedding.i" + @echo "... embedding.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 + diff --git a/examples/sycl/embedding/cmake_install.cmake b/examples/sycl/embedding/cmake_install.cmake new file mode 100644 index 000000000..1ed94ada9 --- /dev/null +++ b/examples/sycl/embedding/cmake_install.cmake @@ -0,0 +1,60 @@ +# Install script for directory: /home/jianyuzh/ws/llama.cpp/develop/examples/embedding + +# 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/embedding" AND + NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/embedding") + file(RPATH_CHECK + FILE "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/embedding" + RPATH "") + endif() + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/bin" TYPE EXECUTABLE FILES "/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/embedding/embedding") + if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/embedding" AND + NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/embedding") + if(CMAKE_INSTALL_DO_STRIP) + execute_process(COMMAND "/usr/bin/strip" "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/embedding") + endif() + endif() +endif() + diff --git a/examples/sycl/export-lora/CMakeFiles/CMakeDirectoryInformation.cmake b/examples/sycl/export-lora/CMakeFiles/CMakeDirectoryInformation.cmake new file mode 100644 index 000000000..5c593a473 --- /dev/null +++ b/examples/sycl/export-lora/CMakeFiles/CMakeDirectoryInformation.cmake @@ -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}) diff --git a/examples/sycl/export-lora/CMakeFiles/export-lora.dir/DependInfo.cmake b/examples/sycl/export-lora/CMakeFiles/export-lora.dir/DependInfo.cmake new file mode 100644 index 000000000..509dd9fd8 --- /dev/null +++ b/examples/sycl/export-lora/CMakeFiles/export-lora.dir/DependInfo.cmake @@ -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/export-lora/export-lora.cpp" "export-lora/CMakeFiles/export-lora.dir/export-lora.o" "gcc" "export-lora/CMakeFiles/export-lora.dir/export-lora.o.d" + ) + +# Targets to which this target links. +set(CMAKE_TARGET_LINKED_INFO_FILES + ) + +# Fortran module output directory. +set(CMAKE_Fortran_TARGET_MODULE_DIR "") diff --git a/examples/sycl/export-lora/CMakeFiles/export-lora.dir/build.make b/examples/sycl/export-lora/CMakeFiles/export-lora.dir/build.make new file mode 100644 index 000000000..a30d77629 --- /dev/null +++ b/examples/sycl/export-lora/CMakeFiles/export-lora.dir/build.make @@ -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 export-lora/CMakeFiles/export-lora.dir/depend.make +# Include any dependencies generated by the compiler for this target. +include export-lora/CMakeFiles/export-lora.dir/compiler_depend.make + +# Include the progress variables for this target. +include export-lora/CMakeFiles/export-lora.dir/progress.make + +# Include the compile flags for this target's objects. +include export-lora/CMakeFiles/export-lora.dir/flags.make + +export-lora/CMakeFiles/export-lora.dir/export-lora.o: export-lora/CMakeFiles/export-lora.dir/flags.make +export-lora/CMakeFiles/export-lora.dir/export-lora.o: ../export-lora/export-lora.cpp +export-lora/CMakeFiles/export-lora.dir/export-lora.o: export-lora/CMakeFiles/export-lora.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 export-lora/CMakeFiles/export-lora.dir/export-lora.o" + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/export-lora && /opt/intel/oneapi/compiler/2024.0/bin/icpx $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -MD -MT export-lora/CMakeFiles/export-lora.dir/export-lora.o -MF CMakeFiles/export-lora.dir/export-lora.o.d -o CMakeFiles/export-lora.dir/export-lora.o -c /home/jianyuzh/ws/llama.cpp/develop/examples/export-lora/export-lora.cpp + +export-lora/CMakeFiles/export-lora.dir/export-lora.i: cmake_force + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/export-lora.dir/export-lora.i" + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/export-lora && /opt/intel/oneapi/compiler/2024.0/bin/icpx $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /home/jianyuzh/ws/llama.cpp/develop/examples/export-lora/export-lora.cpp > CMakeFiles/export-lora.dir/export-lora.i + +export-lora/CMakeFiles/export-lora.dir/export-lora.s: cmake_force + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/export-lora.dir/export-lora.s" + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/export-lora && /opt/intel/oneapi/compiler/2024.0/bin/icpx $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /home/jianyuzh/ws/llama.cpp/develop/examples/export-lora/export-lora.cpp -o CMakeFiles/export-lora.dir/export-lora.s + +# Object files for target export-lora +export__lora_OBJECTS = \ +"CMakeFiles/export-lora.dir/export-lora.o" + +# External object files for target export-lora +export__lora_EXTERNAL_OBJECTS = + +export-lora/export-lora: export-lora/CMakeFiles/export-lora.dir/export-lora.o +export-lora/export-lora: export-lora/CMakeFiles/export-lora.dir/build.make +export-lora/export-lora: export-lora/CMakeFiles/export-lora.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 export-lora" + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/export-lora && $(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/export-lora.dir/link.txt --verbose=$(VERBOSE) + +# Rule to build all files generated by this target. +export-lora/CMakeFiles/export-lora.dir/build: export-lora/export-lora +.PHONY : export-lora/CMakeFiles/export-lora.dir/build + +export-lora/CMakeFiles/export-lora.dir/clean: + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/export-lora && $(CMAKE_COMMAND) -P CMakeFiles/export-lora.dir/cmake_clean.cmake +.PHONY : export-lora/CMakeFiles/export-lora.dir/clean + +export-lora/CMakeFiles/export-lora.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/export-lora /home/jianyuzh/ws/llama.cpp/develop/examples/sycl /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/export-lora /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/export-lora/CMakeFiles/export-lora.dir/DependInfo.cmake --color=$(COLOR) +.PHONY : export-lora/CMakeFiles/export-lora.dir/depend + diff --git a/examples/sycl/export-lora/CMakeFiles/export-lora.dir/cmake_clean.cmake b/examples/sycl/export-lora/CMakeFiles/export-lora.dir/cmake_clean.cmake new file mode 100644 index 000000000..e4439996f --- /dev/null +++ b/examples/sycl/export-lora/CMakeFiles/export-lora.dir/cmake_clean.cmake @@ -0,0 +1,11 @@ +file(REMOVE_RECURSE + "CMakeFiles/export-lora.dir/export-lora.o" + "CMakeFiles/export-lora.dir/export-lora.o.d" + "export-lora" + "export-lora.pdb" +) + +# Per-language clean rules from dependency scanning. +foreach(lang CXX) + include(CMakeFiles/export-lora.dir/cmake_clean_${lang}.cmake OPTIONAL) +endforeach() diff --git a/examples/sycl/export-lora/CMakeFiles/export-lora.dir/compiler_depend.make b/examples/sycl/export-lora/CMakeFiles/export-lora.dir/compiler_depend.make new file mode 100644 index 000000000..bd6b5614f --- /dev/null +++ b/examples/sycl/export-lora/CMakeFiles/export-lora.dir/compiler_depend.make @@ -0,0 +1,2 @@ +# Empty compiler generated dependencies file for export-lora. +# This may be replaced when dependencies are built. diff --git a/examples/sycl/export-lora/CMakeFiles/export-lora.dir/compiler_depend.ts b/examples/sycl/export-lora/CMakeFiles/export-lora.dir/compiler_depend.ts new file mode 100644 index 000000000..060cd6097 --- /dev/null +++ b/examples/sycl/export-lora/CMakeFiles/export-lora.dir/compiler_depend.ts @@ -0,0 +1,2 @@ +# CMAKE generated file: DO NOT EDIT! +# Timestamp file for compiler generated dependencies management for export-lora. diff --git a/examples/sycl/export-lora/CMakeFiles/export-lora.dir/depend.make b/examples/sycl/export-lora/CMakeFiles/export-lora.dir/depend.make new file mode 100644 index 000000000..98a9b1443 --- /dev/null +++ b/examples/sycl/export-lora/CMakeFiles/export-lora.dir/depend.make @@ -0,0 +1,2 @@ +# Empty dependencies file for export-lora. +# This may be replaced when dependencies are built. diff --git a/examples/sycl/export-lora/CMakeFiles/export-lora.dir/flags.make b/examples/sycl/export-lora/CMakeFiles/export-lora.dir/flags.make new file mode 100644 index 000000000..6bddd3d69 --- /dev/null +++ b/examples/sycl/export-lora/CMakeFiles/export-lora.dir/flags.make @@ -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 = + diff --git a/examples/sycl/export-lora/CMakeFiles/export-lora.dir/link.txt b/examples/sycl/export-lora/CMakeFiles/export-lora.dir/link.txt new file mode 100644 index 000000000..17cb92024 --- /dev/null +++ b/examples/sycl/export-lora/CMakeFiles/export-lora.dir/link.txt @@ -0,0 +1 @@ +/opt/intel/oneapi/compiler/2024.0/bin/icpx -rdynamic CMakeFiles/export-lora.dir/export-lora.o -o export-lora -lcommon -lllama diff --git a/examples/sycl/export-lora/CMakeFiles/export-lora.dir/progress.make b/examples/sycl/export-lora/CMakeFiles/export-lora.dir/progress.make new file mode 100644 index 000000000..a35c33b98 --- /dev/null +++ b/examples/sycl/export-lora/CMakeFiles/export-lora.dir/progress.make @@ -0,0 +1,3 @@ +CMAKE_PROGRESS_1 = 15 +CMAKE_PROGRESS_2 = 16 + diff --git a/examples/sycl/export-lora/CMakeFiles/progress.marks b/examples/sycl/export-lora/CMakeFiles/progress.marks new file mode 100644 index 000000000..0cfbf0888 --- /dev/null +++ b/examples/sycl/export-lora/CMakeFiles/progress.marks @@ -0,0 +1 @@ +2 diff --git a/examples/sycl/export-lora/Makefile b/examples/sycl/export-lora/Makefile new file mode 100644 index 000000000..81a26eebe --- /dev/null +++ b/examples/sycl/export-lora/Makefile @@ -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/export-lora//CMakeFiles/progress.marks + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 export-lora/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 export-lora/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 export-lora/preinstall +.PHONY : preinstall + +# Prepare targets for installation. +preinstall/fast: + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 export-lora/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. +export-lora/CMakeFiles/export-lora.dir/rule: + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 export-lora/CMakeFiles/export-lora.dir/rule +.PHONY : export-lora/CMakeFiles/export-lora.dir/rule + +# Convenience name for target. +export-lora: export-lora/CMakeFiles/export-lora.dir/rule +.PHONY : export-lora + +# fast build rule for target. +export-lora/fast: + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f export-lora/CMakeFiles/export-lora.dir/build.make export-lora/CMakeFiles/export-lora.dir/build +.PHONY : export-lora/fast + +# target to build an object file +export-lora.o: + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f export-lora/CMakeFiles/export-lora.dir/build.make export-lora/CMakeFiles/export-lora.dir/export-lora.o +.PHONY : export-lora.o + +# target to preprocess a source file +export-lora.i: + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f export-lora/CMakeFiles/export-lora.dir/build.make export-lora/CMakeFiles/export-lora.dir/export-lora.i +.PHONY : export-lora.i + +# target to generate assembly for a file +export-lora.s: + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f export-lora/CMakeFiles/export-lora.dir/build.make export-lora/CMakeFiles/export-lora.dir/export-lora.s +.PHONY : export-lora.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 "... export-lora" + @echo "... export-lora.o" + @echo "... export-lora.i" + @echo "... export-lora.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 + diff --git a/examples/sycl/export-lora/cmake_install.cmake b/examples/sycl/export-lora/cmake_install.cmake new file mode 100644 index 000000000..82df354c0 --- /dev/null +++ b/examples/sycl/export-lora/cmake_install.cmake @@ -0,0 +1,60 @@ +# Install script for directory: /home/jianyuzh/ws/llama.cpp/develop/examples/export-lora + +# 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/export-lora" AND + NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/export-lora") + file(RPATH_CHECK + FILE "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/export-lora" + RPATH "") + endif() + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/bin" TYPE EXECUTABLE FILES "/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/export-lora/export-lora") + if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/export-lora" AND + NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/export-lora") + if(CMAKE_INSTALL_DO_STRIP) + execute_process(COMMAND "/usr/bin/strip" "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/export-lora") + endif() + endif() +endif() + diff --git a/examples/sycl/finetune/CMakeFiles/CMakeDirectoryInformation.cmake b/examples/sycl/finetune/CMakeFiles/CMakeDirectoryInformation.cmake new file mode 100644 index 000000000..5c593a473 --- /dev/null +++ b/examples/sycl/finetune/CMakeFiles/CMakeDirectoryInformation.cmake @@ -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}) diff --git a/examples/sycl/finetune/CMakeFiles/finetune.dir/DependInfo.cmake b/examples/sycl/finetune/CMakeFiles/finetune.dir/DependInfo.cmake new file mode 100644 index 000000000..1c4b74082 --- /dev/null +++ b/examples/sycl/finetune/CMakeFiles/finetune.dir/DependInfo.cmake @@ -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/finetune/finetune.cpp" "finetune/CMakeFiles/finetune.dir/finetune.o" "gcc" "finetune/CMakeFiles/finetune.dir/finetune.o.d" + ) + +# Targets to which this target links. +set(CMAKE_TARGET_LINKED_INFO_FILES + ) + +# Fortran module output directory. +set(CMAKE_Fortran_TARGET_MODULE_DIR "") diff --git a/examples/sycl/finetune/CMakeFiles/finetune.dir/build.make b/examples/sycl/finetune/CMakeFiles/finetune.dir/build.make new file mode 100644 index 000000000..87eb77fdf --- /dev/null +++ b/examples/sycl/finetune/CMakeFiles/finetune.dir/build.make @@ -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 finetune/CMakeFiles/finetune.dir/depend.make +# Include any dependencies generated by the compiler for this target. +include finetune/CMakeFiles/finetune.dir/compiler_depend.make + +# Include the progress variables for this target. +include finetune/CMakeFiles/finetune.dir/progress.make + +# Include the compile flags for this target's objects. +include finetune/CMakeFiles/finetune.dir/flags.make + +finetune/CMakeFiles/finetune.dir/finetune.o: finetune/CMakeFiles/finetune.dir/flags.make +finetune/CMakeFiles/finetune.dir/finetune.o: ../finetune/finetune.cpp +finetune/CMakeFiles/finetune.dir/finetune.o: finetune/CMakeFiles/finetune.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 finetune/CMakeFiles/finetune.dir/finetune.o" + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/finetune && /opt/intel/oneapi/compiler/2024.0/bin/icpx $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -MD -MT finetune/CMakeFiles/finetune.dir/finetune.o -MF CMakeFiles/finetune.dir/finetune.o.d -o CMakeFiles/finetune.dir/finetune.o -c /home/jianyuzh/ws/llama.cpp/develop/examples/finetune/finetune.cpp + +finetune/CMakeFiles/finetune.dir/finetune.i: cmake_force + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/finetune.dir/finetune.i" + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/finetune && /opt/intel/oneapi/compiler/2024.0/bin/icpx $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /home/jianyuzh/ws/llama.cpp/develop/examples/finetune/finetune.cpp > CMakeFiles/finetune.dir/finetune.i + +finetune/CMakeFiles/finetune.dir/finetune.s: cmake_force + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/finetune.dir/finetune.s" + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/finetune && /opt/intel/oneapi/compiler/2024.0/bin/icpx $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /home/jianyuzh/ws/llama.cpp/develop/examples/finetune/finetune.cpp -o CMakeFiles/finetune.dir/finetune.s + +# Object files for target finetune +finetune_OBJECTS = \ +"CMakeFiles/finetune.dir/finetune.o" + +# External object files for target finetune +finetune_EXTERNAL_OBJECTS = + +finetune/finetune: finetune/CMakeFiles/finetune.dir/finetune.o +finetune/finetune: finetune/CMakeFiles/finetune.dir/build.make +finetune/finetune: finetune/CMakeFiles/finetune.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 finetune" + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/finetune && $(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/finetune.dir/link.txt --verbose=$(VERBOSE) + +# Rule to build all files generated by this target. +finetune/CMakeFiles/finetune.dir/build: finetune/finetune +.PHONY : finetune/CMakeFiles/finetune.dir/build + +finetune/CMakeFiles/finetune.dir/clean: + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/finetune && $(CMAKE_COMMAND) -P CMakeFiles/finetune.dir/cmake_clean.cmake +.PHONY : finetune/CMakeFiles/finetune.dir/clean + +finetune/CMakeFiles/finetune.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/finetune /home/jianyuzh/ws/llama.cpp/develop/examples/sycl /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/finetune /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/finetune/CMakeFiles/finetune.dir/DependInfo.cmake --color=$(COLOR) +.PHONY : finetune/CMakeFiles/finetune.dir/depend + diff --git a/examples/sycl/finetune/CMakeFiles/finetune.dir/cmake_clean.cmake b/examples/sycl/finetune/CMakeFiles/finetune.dir/cmake_clean.cmake new file mode 100644 index 000000000..ddc16e11e --- /dev/null +++ b/examples/sycl/finetune/CMakeFiles/finetune.dir/cmake_clean.cmake @@ -0,0 +1,11 @@ +file(REMOVE_RECURSE + "CMakeFiles/finetune.dir/finetune.o" + "CMakeFiles/finetune.dir/finetune.o.d" + "finetune" + "finetune.pdb" +) + +# Per-language clean rules from dependency scanning. +foreach(lang CXX) + include(CMakeFiles/finetune.dir/cmake_clean_${lang}.cmake OPTIONAL) +endforeach() diff --git a/examples/sycl/finetune/CMakeFiles/finetune.dir/compiler_depend.make b/examples/sycl/finetune/CMakeFiles/finetune.dir/compiler_depend.make new file mode 100644 index 000000000..7b0c0a165 --- /dev/null +++ b/examples/sycl/finetune/CMakeFiles/finetune.dir/compiler_depend.make @@ -0,0 +1,2 @@ +# Empty compiler generated dependencies file for finetune. +# This may be replaced when dependencies are built. diff --git a/examples/sycl/finetune/CMakeFiles/finetune.dir/compiler_depend.ts b/examples/sycl/finetune/CMakeFiles/finetune.dir/compiler_depend.ts new file mode 100644 index 000000000..60ac2baee --- /dev/null +++ b/examples/sycl/finetune/CMakeFiles/finetune.dir/compiler_depend.ts @@ -0,0 +1,2 @@ +# CMAKE generated file: DO NOT EDIT! +# Timestamp file for compiler generated dependencies management for finetune. diff --git a/examples/sycl/finetune/CMakeFiles/finetune.dir/depend.make b/examples/sycl/finetune/CMakeFiles/finetune.dir/depend.make new file mode 100644 index 000000000..69e9f6776 --- /dev/null +++ b/examples/sycl/finetune/CMakeFiles/finetune.dir/depend.make @@ -0,0 +1,2 @@ +# Empty dependencies file for finetune. +# This may be replaced when dependencies are built. diff --git a/examples/sycl/finetune/CMakeFiles/finetune.dir/flags.make b/examples/sycl/finetune/CMakeFiles/finetune.dir/flags.make new file mode 100644 index 000000000..6bddd3d69 --- /dev/null +++ b/examples/sycl/finetune/CMakeFiles/finetune.dir/flags.make @@ -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 = + diff --git a/examples/sycl/finetune/CMakeFiles/finetune.dir/link.txt b/examples/sycl/finetune/CMakeFiles/finetune.dir/link.txt new file mode 100644 index 000000000..c93473a88 --- /dev/null +++ b/examples/sycl/finetune/CMakeFiles/finetune.dir/link.txt @@ -0,0 +1 @@ +/opt/intel/oneapi/compiler/2024.0/bin/icpx -rdynamic CMakeFiles/finetune.dir/finetune.o -o finetune -lcommon -lllama diff --git a/examples/sycl/finetune/CMakeFiles/finetune.dir/progress.make b/examples/sycl/finetune/CMakeFiles/finetune.dir/progress.make new file mode 100644 index 000000000..5a7451db6 --- /dev/null +++ b/examples/sycl/finetune/CMakeFiles/finetune.dir/progress.make @@ -0,0 +1,3 @@ +CMAKE_PROGRESS_1 = 17 +CMAKE_PROGRESS_2 = 18 + diff --git a/examples/sycl/finetune/CMakeFiles/progress.marks b/examples/sycl/finetune/CMakeFiles/progress.marks new file mode 100644 index 000000000..0cfbf0888 --- /dev/null +++ b/examples/sycl/finetune/CMakeFiles/progress.marks @@ -0,0 +1 @@ +2 diff --git a/examples/sycl/finetune/Makefile b/examples/sycl/finetune/Makefile new file mode 100644 index 000000000..455898767 --- /dev/null +++ b/examples/sycl/finetune/Makefile @@ -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/finetune//CMakeFiles/progress.marks + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 finetune/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 finetune/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 finetune/preinstall +.PHONY : preinstall + +# Prepare targets for installation. +preinstall/fast: + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 finetune/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. +finetune/CMakeFiles/finetune.dir/rule: + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 finetune/CMakeFiles/finetune.dir/rule +.PHONY : finetune/CMakeFiles/finetune.dir/rule + +# Convenience name for target. +finetune: finetune/CMakeFiles/finetune.dir/rule +.PHONY : finetune + +# fast build rule for target. +finetune/fast: + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f finetune/CMakeFiles/finetune.dir/build.make finetune/CMakeFiles/finetune.dir/build +.PHONY : finetune/fast + +# target to build an object file +finetune.o: + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f finetune/CMakeFiles/finetune.dir/build.make finetune/CMakeFiles/finetune.dir/finetune.o +.PHONY : finetune.o + +# target to preprocess a source file +finetune.i: + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f finetune/CMakeFiles/finetune.dir/build.make finetune/CMakeFiles/finetune.dir/finetune.i +.PHONY : finetune.i + +# target to generate assembly for a file +finetune.s: + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f finetune/CMakeFiles/finetune.dir/build.make finetune/CMakeFiles/finetune.dir/finetune.s +.PHONY : finetune.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 "... finetune" + @echo "... finetune.o" + @echo "... finetune.i" + @echo "... finetune.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 + diff --git a/examples/sycl/finetune/cmake_install.cmake b/examples/sycl/finetune/cmake_install.cmake new file mode 100644 index 000000000..6ec05e057 --- /dev/null +++ b/examples/sycl/finetune/cmake_install.cmake @@ -0,0 +1,60 @@ +# Install script for directory: /home/jianyuzh/ws/llama.cpp/develop/examples/finetune + +# 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/finetune" AND + NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/finetune") + file(RPATH_CHECK + FILE "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/finetune" + RPATH "") + endif() + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/bin" TYPE EXECUTABLE FILES "/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/finetune/finetune") + if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/finetune" AND + NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/finetune") + if(CMAKE_INSTALL_DO_STRIP) + execute_process(COMMAND "/usr/bin/strip" "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/finetune") + endif() + endif() +endif() + diff --git a/examples/sycl/infill/CMakeFiles/CMakeDirectoryInformation.cmake b/examples/sycl/infill/CMakeFiles/CMakeDirectoryInformation.cmake new file mode 100644 index 000000000..5c593a473 --- /dev/null +++ b/examples/sycl/infill/CMakeFiles/CMakeDirectoryInformation.cmake @@ -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}) diff --git a/examples/sycl/infill/CMakeFiles/infill.dir/DependInfo.cmake b/examples/sycl/infill/CMakeFiles/infill.dir/DependInfo.cmake new file mode 100644 index 000000000..d2945cc85 --- /dev/null +++ b/examples/sycl/infill/CMakeFiles/infill.dir/DependInfo.cmake @@ -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/infill/infill.cpp" "infill/CMakeFiles/infill.dir/infill.o" "gcc" "infill/CMakeFiles/infill.dir/infill.o.d" + ) + +# Targets to which this target links. +set(CMAKE_TARGET_LINKED_INFO_FILES + ) + +# Fortran module output directory. +set(CMAKE_Fortran_TARGET_MODULE_DIR "") diff --git a/examples/sycl/infill/CMakeFiles/infill.dir/build.make b/examples/sycl/infill/CMakeFiles/infill.dir/build.make new file mode 100644 index 000000000..053f874a4 --- /dev/null +++ b/examples/sycl/infill/CMakeFiles/infill.dir/build.make @@ -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 infill/CMakeFiles/infill.dir/depend.make +# Include any dependencies generated by the compiler for this target. +include infill/CMakeFiles/infill.dir/compiler_depend.make + +# Include the progress variables for this target. +include infill/CMakeFiles/infill.dir/progress.make + +# Include the compile flags for this target's objects. +include infill/CMakeFiles/infill.dir/flags.make + +infill/CMakeFiles/infill.dir/infill.o: infill/CMakeFiles/infill.dir/flags.make +infill/CMakeFiles/infill.dir/infill.o: ../infill/infill.cpp +infill/CMakeFiles/infill.dir/infill.o: infill/CMakeFiles/infill.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 infill/CMakeFiles/infill.dir/infill.o" + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/infill && /opt/intel/oneapi/compiler/2024.0/bin/icpx $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -MD -MT infill/CMakeFiles/infill.dir/infill.o -MF CMakeFiles/infill.dir/infill.o.d -o CMakeFiles/infill.dir/infill.o -c /home/jianyuzh/ws/llama.cpp/develop/examples/infill/infill.cpp + +infill/CMakeFiles/infill.dir/infill.i: cmake_force + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/infill.dir/infill.i" + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/infill && /opt/intel/oneapi/compiler/2024.0/bin/icpx $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /home/jianyuzh/ws/llama.cpp/develop/examples/infill/infill.cpp > CMakeFiles/infill.dir/infill.i + +infill/CMakeFiles/infill.dir/infill.s: cmake_force + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/infill.dir/infill.s" + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/infill && /opt/intel/oneapi/compiler/2024.0/bin/icpx $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /home/jianyuzh/ws/llama.cpp/develop/examples/infill/infill.cpp -o CMakeFiles/infill.dir/infill.s + +# Object files for target infill +infill_OBJECTS = \ +"CMakeFiles/infill.dir/infill.o" + +# External object files for target infill +infill_EXTERNAL_OBJECTS = + +infill/infill: infill/CMakeFiles/infill.dir/infill.o +infill/infill: infill/CMakeFiles/infill.dir/build.make +infill/infill: infill/CMakeFiles/infill.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 infill" + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/infill && $(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/infill.dir/link.txt --verbose=$(VERBOSE) + +# Rule to build all files generated by this target. +infill/CMakeFiles/infill.dir/build: infill/infill +.PHONY : infill/CMakeFiles/infill.dir/build + +infill/CMakeFiles/infill.dir/clean: + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/infill && $(CMAKE_COMMAND) -P CMakeFiles/infill.dir/cmake_clean.cmake +.PHONY : infill/CMakeFiles/infill.dir/clean + +infill/CMakeFiles/infill.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/infill /home/jianyuzh/ws/llama.cpp/develop/examples/sycl /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/infill /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/infill/CMakeFiles/infill.dir/DependInfo.cmake --color=$(COLOR) +.PHONY : infill/CMakeFiles/infill.dir/depend + diff --git a/examples/sycl/infill/CMakeFiles/infill.dir/cmake_clean.cmake b/examples/sycl/infill/CMakeFiles/infill.dir/cmake_clean.cmake new file mode 100644 index 000000000..87dd3a112 --- /dev/null +++ b/examples/sycl/infill/CMakeFiles/infill.dir/cmake_clean.cmake @@ -0,0 +1,11 @@ +file(REMOVE_RECURSE + "CMakeFiles/infill.dir/infill.o" + "CMakeFiles/infill.dir/infill.o.d" + "infill" + "infill.pdb" +) + +# Per-language clean rules from dependency scanning. +foreach(lang CXX) + include(CMakeFiles/infill.dir/cmake_clean_${lang}.cmake OPTIONAL) +endforeach() diff --git a/examples/sycl/infill/CMakeFiles/infill.dir/compiler_depend.make b/examples/sycl/infill/CMakeFiles/infill.dir/compiler_depend.make new file mode 100644 index 000000000..b1ec2da73 --- /dev/null +++ b/examples/sycl/infill/CMakeFiles/infill.dir/compiler_depend.make @@ -0,0 +1,2 @@ +# Empty compiler generated dependencies file for infill. +# This may be replaced when dependencies are built. diff --git a/examples/sycl/infill/CMakeFiles/infill.dir/compiler_depend.ts b/examples/sycl/infill/CMakeFiles/infill.dir/compiler_depend.ts new file mode 100644 index 000000000..c8209ec18 --- /dev/null +++ b/examples/sycl/infill/CMakeFiles/infill.dir/compiler_depend.ts @@ -0,0 +1,2 @@ +# CMAKE generated file: DO NOT EDIT! +# Timestamp file for compiler generated dependencies management for infill. diff --git a/examples/sycl/infill/CMakeFiles/infill.dir/depend.make b/examples/sycl/infill/CMakeFiles/infill.dir/depend.make new file mode 100644 index 000000000..7baa2f329 --- /dev/null +++ b/examples/sycl/infill/CMakeFiles/infill.dir/depend.make @@ -0,0 +1,2 @@ +# Empty dependencies file for infill. +# This may be replaced when dependencies are built. diff --git a/examples/sycl/infill/CMakeFiles/infill.dir/flags.make b/examples/sycl/infill/CMakeFiles/infill.dir/flags.make new file mode 100644 index 000000000..6bddd3d69 --- /dev/null +++ b/examples/sycl/infill/CMakeFiles/infill.dir/flags.make @@ -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 = + diff --git a/examples/sycl/infill/CMakeFiles/infill.dir/link.txt b/examples/sycl/infill/CMakeFiles/infill.dir/link.txt new file mode 100644 index 000000000..591c34ed3 --- /dev/null +++ b/examples/sycl/infill/CMakeFiles/infill.dir/link.txt @@ -0,0 +1 @@ +/opt/intel/oneapi/compiler/2024.0/bin/icpx -rdynamic CMakeFiles/infill.dir/infill.o -o infill -lcommon -lllama diff --git a/examples/sycl/infill/CMakeFiles/infill.dir/progress.make b/examples/sycl/infill/CMakeFiles/infill.dir/progress.make new file mode 100644 index 000000000..48b3d8a54 --- /dev/null +++ b/examples/sycl/infill/CMakeFiles/infill.dir/progress.make @@ -0,0 +1,3 @@ +CMAKE_PROGRESS_1 = 19 +CMAKE_PROGRESS_2 = 20 + diff --git a/examples/sycl/infill/CMakeFiles/progress.marks b/examples/sycl/infill/CMakeFiles/progress.marks new file mode 100644 index 000000000..0cfbf0888 --- /dev/null +++ b/examples/sycl/infill/CMakeFiles/progress.marks @@ -0,0 +1 @@ +2 diff --git a/examples/sycl/infill/Makefile b/examples/sycl/infill/Makefile new file mode 100644 index 000000000..f380cf65e --- /dev/null +++ b/examples/sycl/infill/Makefile @@ -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/infill//CMakeFiles/progress.marks + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 infill/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 infill/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 infill/preinstall +.PHONY : preinstall + +# Prepare targets for installation. +preinstall/fast: + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 infill/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. +infill/CMakeFiles/infill.dir/rule: + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 infill/CMakeFiles/infill.dir/rule +.PHONY : infill/CMakeFiles/infill.dir/rule + +# Convenience name for target. +infill: infill/CMakeFiles/infill.dir/rule +.PHONY : infill + +# fast build rule for target. +infill/fast: + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f infill/CMakeFiles/infill.dir/build.make infill/CMakeFiles/infill.dir/build +.PHONY : infill/fast + +# target to build an object file +infill.o: + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f infill/CMakeFiles/infill.dir/build.make infill/CMakeFiles/infill.dir/infill.o +.PHONY : infill.o + +# target to preprocess a source file +infill.i: + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f infill/CMakeFiles/infill.dir/build.make infill/CMakeFiles/infill.dir/infill.i +.PHONY : infill.i + +# target to generate assembly for a file +infill.s: + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f infill/CMakeFiles/infill.dir/build.make infill/CMakeFiles/infill.dir/infill.s +.PHONY : infill.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 "... infill" + @echo "... infill.o" + @echo "... infill.i" + @echo "... infill.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 + diff --git a/examples/sycl/infill/cmake_install.cmake b/examples/sycl/infill/cmake_install.cmake new file mode 100644 index 000000000..75eebb36e --- /dev/null +++ b/examples/sycl/infill/cmake_install.cmake @@ -0,0 +1,60 @@ +# Install script for directory: /home/jianyuzh/ws/llama.cpp/develop/examples/infill + +# 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/infill" AND + NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/infill") + file(RPATH_CHECK + FILE "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/infill" + RPATH "") + endif() + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/bin" TYPE EXECUTABLE FILES "/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/infill/infill") + if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/infill" AND + NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/infill") + if(CMAKE_INSTALL_DO_STRIP) + execute_process(COMMAND "/usr/bin/strip" "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/infill") + endif() + endif() +endif() + diff --git a/examples/sycl/llama-bench/CMakeFiles/CMakeDirectoryInformation.cmake b/examples/sycl/llama-bench/CMakeFiles/CMakeDirectoryInformation.cmake new file mode 100644 index 000000000..5c593a473 --- /dev/null +++ b/examples/sycl/llama-bench/CMakeFiles/CMakeDirectoryInformation.cmake @@ -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}) diff --git a/examples/sycl/llama-bench/CMakeFiles/llama-bench.dir/DependInfo.cmake b/examples/sycl/llama-bench/CMakeFiles/llama-bench.dir/DependInfo.cmake new file mode 100644 index 000000000..3474b7e65 --- /dev/null +++ b/examples/sycl/llama-bench/CMakeFiles/llama-bench.dir/DependInfo.cmake @@ -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/llama-bench/llama-bench.cpp" "llama-bench/CMakeFiles/llama-bench.dir/llama-bench.o" "gcc" "llama-bench/CMakeFiles/llama-bench.dir/llama-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 "") diff --git a/examples/sycl/llama-bench/CMakeFiles/llama-bench.dir/build.make b/examples/sycl/llama-bench/CMakeFiles/llama-bench.dir/build.make new file mode 100644 index 000000000..f5e7cbbbe --- /dev/null +++ b/examples/sycl/llama-bench/CMakeFiles/llama-bench.dir/build.make @@ -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 llama-bench/CMakeFiles/llama-bench.dir/depend.make +# Include any dependencies generated by the compiler for this target. +include llama-bench/CMakeFiles/llama-bench.dir/compiler_depend.make + +# Include the progress variables for this target. +include llama-bench/CMakeFiles/llama-bench.dir/progress.make + +# Include the compile flags for this target's objects. +include llama-bench/CMakeFiles/llama-bench.dir/flags.make + +llama-bench/CMakeFiles/llama-bench.dir/llama-bench.o: llama-bench/CMakeFiles/llama-bench.dir/flags.make +llama-bench/CMakeFiles/llama-bench.dir/llama-bench.o: ../llama-bench/llama-bench.cpp +llama-bench/CMakeFiles/llama-bench.dir/llama-bench.o: llama-bench/CMakeFiles/llama-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 llama-bench/CMakeFiles/llama-bench.dir/llama-bench.o" + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/llama-bench && /opt/intel/oneapi/compiler/2024.0/bin/icpx $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -MD -MT llama-bench/CMakeFiles/llama-bench.dir/llama-bench.o -MF CMakeFiles/llama-bench.dir/llama-bench.o.d -o CMakeFiles/llama-bench.dir/llama-bench.o -c /home/jianyuzh/ws/llama.cpp/develop/examples/llama-bench/llama-bench.cpp + +llama-bench/CMakeFiles/llama-bench.dir/llama-bench.i: cmake_force + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/llama-bench.dir/llama-bench.i" + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/llama-bench && /opt/intel/oneapi/compiler/2024.0/bin/icpx $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /home/jianyuzh/ws/llama.cpp/develop/examples/llama-bench/llama-bench.cpp > CMakeFiles/llama-bench.dir/llama-bench.i + +llama-bench/CMakeFiles/llama-bench.dir/llama-bench.s: cmake_force + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/llama-bench.dir/llama-bench.s" + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/llama-bench && /opt/intel/oneapi/compiler/2024.0/bin/icpx $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /home/jianyuzh/ws/llama.cpp/develop/examples/llama-bench/llama-bench.cpp -o CMakeFiles/llama-bench.dir/llama-bench.s + +# Object files for target llama-bench +llama__bench_OBJECTS = \ +"CMakeFiles/llama-bench.dir/llama-bench.o" + +# External object files for target llama-bench +llama__bench_EXTERNAL_OBJECTS = + +llama-bench/llama-bench: llama-bench/CMakeFiles/llama-bench.dir/llama-bench.o +llama-bench/llama-bench: llama-bench/CMakeFiles/llama-bench.dir/build.make +llama-bench/llama-bench: llama-bench/CMakeFiles/llama-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 llama-bench" + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/llama-bench && $(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/llama-bench.dir/link.txt --verbose=$(VERBOSE) + +# Rule to build all files generated by this target. +llama-bench/CMakeFiles/llama-bench.dir/build: llama-bench/llama-bench +.PHONY : llama-bench/CMakeFiles/llama-bench.dir/build + +llama-bench/CMakeFiles/llama-bench.dir/clean: + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/llama-bench && $(CMAKE_COMMAND) -P CMakeFiles/llama-bench.dir/cmake_clean.cmake +.PHONY : llama-bench/CMakeFiles/llama-bench.dir/clean + +llama-bench/CMakeFiles/llama-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/llama-bench /home/jianyuzh/ws/llama.cpp/develop/examples/sycl /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/llama-bench /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/llama-bench/CMakeFiles/llama-bench.dir/DependInfo.cmake --color=$(COLOR) +.PHONY : llama-bench/CMakeFiles/llama-bench.dir/depend + diff --git a/examples/sycl/llama-bench/CMakeFiles/llama-bench.dir/cmake_clean.cmake b/examples/sycl/llama-bench/CMakeFiles/llama-bench.dir/cmake_clean.cmake new file mode 100644 index 000000000..cb6655fb8 --- /dev/null +++ b/examples/sycl/llama-bench/CMakeFiles/llama-bench.dir/cmake_clean.cmake @@ -0,0 +1,11 @@ +file(REMOVE_RECURSE + "CMakeFiles/llama-bench.dir/llama-bench.o" + "CMakeFiles/llama-bench.dir/llama-bench.o.d" + "llama-bench" + "llama-bench.pdb" +) + +# Per-language clean rules from dependency scanning. +foreach(lang CXX) + include(CMakeFiles/llama-bench.dir/cmake_clean_${lang}.cmake OPTIONAL) +endforeach() diff --git a/examples/sycl/llama-bench/CMakeFiles/llama-bench.dir/compiler_depend.make b/examples/sycl/llama-bench/CMakeFiles/llama-bench.dir/compiler_depend.make new file mode 100644 index 000000000..1c2e072d2 --- /dev/null +++ b/examples/sycl/llama-bench/CMakeFiles/llama-bench.dir/compiler_depend.make @@ -0,0 +1,2 @@ +# Empty compiler generated dependencies file for llama-bench. +# This may be replaced when dependencies are built. diff --git a/examples/sycl/llama-bench/CMakeFiles/llama-bench.dir/compiler_depend.ts b/examples/sycl/llama-bench/CMakeFiles/llama-bench.dir/compiler_depend.ts new file mode 100644 index 000000000..e2fdaf1db --- /dev/null +++ b/examples/sycl/llama-bench/CMakeFiles/llama-bench.dir/compiler_depend.ts @@ -0,0 +1,2 @@ +# CMAKE generated file: DO NOT EDIT! +# Timestamp file for compiler generated dependencies management for llama-bench. diff --git a/examples/sycl/llama-bench/CMakeFiles/llama-bench.dir/depend.make b/examples/sycl/llama-bench/CMakeFiles/llama-bench.dir/depend.make new file mode 100644 index 000000000..f3b3c9b06 --- /dev/null +++ b/examples/sycl/llama-bench/CMakeFiles/llama-bench.dir/depend.make @@ -0,0 +1,2 @@ +# Empty dependencies file for llama-bench. +# This may be replaced when dependencies are built. diff --git a/examples/sycl/llama-bench/CMakeFiles/llama-bench.dir/flags.make b/examples/sycl/llama-bench/CMakeFiles/llama-bench.dir/flags.make new file mode 100644 index 000000000..6bddd3d69 --- /dev/null +++ b/examples/sycl/llama-bench/CMakeFiles/llama-bench.dir/flags.make @@ -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 = + diff --git a/examples/sycl/llama-bench/CMakeFiles/llama-bench.dir/link.txt b/examples/sycl/llama-bench/CMakeFiles/llama-bench.dir/link.txt new file mode 100644 index 000000000..f751098bc --- /dev/null +++ b/examples/sycl/llama-bench/CMakeFiles/llama-bench.dir/link.txt @@ -0,0 +1 @@ +/opt/intel/oneapi/compiler/2024.0/bin/icpx -rdynamic CMakeFiles/llama-bench.dir/llama-bench.o -o llama-bench -lcommon -lllama diff --git a/examples/sycl/llama-bench/CMakeFiles/llama-bench.dir/progress.make b/examples/sycl/llama-bench/CMakeFiles/llama-bench.dir/progress.make new file mode 100644 index 000000000..6ec2abf9d --- /dev/null +++ b/examples/sycl/llama-bench/CMakeFiles/llama-bench.dir/progress.make @@ -0,0 +1,3 @@ +CMAKE_PROGRESS_1 = 21 +CMAKE_PROGRESS_2 = 22 + diff --git a/examples/sycl/llama-bench/CMakeFiles/progress.marks b/examples/sycl/llama-bench/CMakeFiles/progress.marks new file mode 100644 index 000000000..0cfbf0888 --- /dev/null +++ b/examples/sycl/llama-bench/CMakeFiles/progress.marks @@ -0,0 +1 @@ +2 diff --git a/examples/sycl/llama-bench/Makefile b/examples/sycl/llama-bench/Makefile new file mode 100644 index 000000000..295a518e0 --- /dev/null +++ b/examples/sycl/llama-bench/Makefile @@ -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/llama-bench//CMakeFiles/progress.marks + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 llama-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 llama-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 llama-bench/preinstall +.PHONY : preinstall + +# Prepare targets for installation. +preinstall/fast: + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 llama-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. +llama-bench/CMakeFiles/llama-bench.dir/rule: + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 llama-bench/CMakeFiles/llama-bench.dir/rule +.PHONY : llama-bench/CMakeFiles/llama-bench.dir/rule + +# Convenience name for target. +llama-bench: llama-bench/CMakeFiles/llama-bench.dir/rule +.PHONY : llama-bench + +# fast build rule for target. +llama-bench/fast: + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f llama-bench/CMakeFiles/llama-bench.dir/build.make llama-bench/CMakeFiles/llama-bench.dir/build +.PHONY : llama-bench/fast + +# target to build an object file +llama-bench.o: + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f llama-bench/CMakeFiles/llama-bench.dir/build.make llama-bench/CMakeFiles/llama-bench.dir/llama-bench.o +.PHONY : llama-bench.o + +# target to preprocess a source file +llama-bench.i: + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f llama-bench/CMakeFiles/llama-bench.dir/build.make llama-bench/CMakeFiles/llama-bench.dir/llama-bench.i +.PHONY : llama-bench.i + +# target to generate assembly for a file +llama-bench.s: + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f llama-bench/CMakeFiles/llama-bench.dir/build.make llama-bench/CMakeFiles/llama-bench.dir/llama-bench.s +.PHONY : llama-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 "... llama-bench" + @echo "... llama-bench.o" + @echo "... llama-bench.i" + @echo "... llama-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 + diff --git a/examples/sycl/llama-bench/cmake_install.cmake b/examples/sycl/llama-bench/cmake_install.cmake new file mode 100644 index 000000000..72de9db7d --- /dev/null +++ b/examples/sycl/llama-bench/cmake_install.cmake @@ -0,0 +1,60 @@ +# Install script for directory: /home/jianyuzh/ws/llama.cpp/develop/examples/llama-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/llama-bench" AND + NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/llama-bench") + file(RPATH_CHECK + FILE "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/llama-bench" + RPATH "") + endif() + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/bin" TYPE EXECUTABLE FILES "/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/llama-bench/llama-bench") + if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/llama-bench" AND + NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/llama-bench") + if(CMAKE_INSTALL_DO_STRIP) + execute_process(COMMAND "/usr/bin/strip" "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/llama-bench") + endif() + endif() +endif() + diff --git a/examples/sycl/llava/CMakeFiles/CMakeDirectoryInformation.cmake b/examples/sycl/llava/CMakeFiles/CMakeDirectoryInformation.cmake new file mode 100644 index 000000000..5c593a473 --- /dev/null +++ b/examples/sycl/llava/CMakeFiles/CMakeDirectoryInformation.cmake @@ -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}) diff --git a/examples/sycl/llava/CMakeFiles/llava-cli.dir/DependInfo.cmake b/examples/sycl/llava/CMakeFiles/llava-cli.dir/DependInfo.cmake new file mode 100644 index 000000000..891956fae --- /dev/null +++ b/examples/sycl/llava/CMakeFiles/llava-cli.dir/DependInfo.cmake @@ -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/llava/llava-cli.cpp" "llava/CMakeFiles/llava-cli.dir/llava-cli.o" "gcc" "llava/CMakeFiles/llava-cli.dir/llava-cli.o.d" + ) + +# Targets to which this target links. +set(CMAKE_TARGET_LINKED_INFO_FILES + ) + +# Fortran module output directory. +set(CMAKE_Fortran_TARGET_MODULE_DIR "") diff --git a/examples/sycl/llava/CMakeFiles/llava-cli.dir/build.make b/examples/sycl/llava/CMakeFiles/llava-cli.dir/build.make new file mode 100644 index 000000000..6459cbf3c --- /dev/null +++ b/examples/sycl/llava/CMakeFiles/llava-cli.dir/build.make @@ -0,0 +1,114 @@ +# 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 llava/CMakeFiles/llava-cli.dir/depend.make +# Include any dependencies generated by the compiler for this target. +include llava/CMakeFiles/llava-cli.dir/compiler_depend.make + +# Include the progress variables for this target. +include llava/CMakeFiles/llava-cli.dir/progress.make + +# Include the compile flags for this target's objects. +include llava/CMakeFiles/llava-cli.dir/flags.make + +llava/CMakeFiles/llava-cli.dir/llava-cli.o: llava/CMakeFiles/llava-cli.dir/flags.make +llava/CMakeFiles/llava-cli.dir/llava-cli.o: ../llava/llava-cli.cpp +llava/CMakeFiles/llava-cli.dir/llava-cli.o: llava/CMakeFiles/llava-cli.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 llava/CMakeFiles/llava-cli.dir/llava-cli.o" + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/llava && /opt/intel/oneapi/compiler/2024.0/bin/icpx $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -MD -MT llava/CMakeFiles/llava-cli.dir/llava-cli.o -MF CMakeFiles/llava-cli.dir/llava-cli.o.d -o CMakeFiles/llava-cli.dir/llava-cli.o -c /home/jianyuzh/ws/llama.cpp/develop/examples/llava/llava-cli.cpp + +llava/CMakeFiles/llava-cli.dir/llava-cli.i: cmake_force + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/llava-cli.dir/llava-cli.i" + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/llava && /opt/intel/oneapi/compiler/2024.0/bin/icpx $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /home/jianyuzh/ws/llama.cpp/develop/examples/llava/llava-cli.cpp > CMakeFiles/llava-cli.dir/llava-cli.i + +llava/CMakeFiles/llava-cli.dir/llava-cli.s: cmake_force + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/llava-cli.dir/llava-cli.s" + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/llava && /opt/intel/oneapi/compiler/2024.0/bin/icpx $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /home/jianyuzh/ws/llama.cpp/develop/examples/llava/llava-cli.cpp -o CMakeFiles/llava-cli.dir/llava-cli.s + +# Object files for target llava-cli +llava__cli_OBJECTS = \ +"CMakeFiles/llava-cli.dir/llava-cli.o" + +# External object files for target llava-cli +llava__cli_EXTERNAL_OBJECTS = \ +"/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/llava/CMakeFiles/llava.dir/llava.o" \ +"/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/llava/CMakeFiles/llava.dir/clip.o" + +llava/llava-cli: llava/CMakeFiles/llava-cli.dir/llava-cli.o +llava/llava-cli: llava/CMakeFiles/llava.dir/llava.o +llava/llava-cli: llava/CMakeFiles/llava.dir/clip.o +llava/llava-cli: llava/CMakeFiles/llava-cli.dir/build.make +llava/llava-cli: llava/CMakeFiles/llava-cli.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 llava-cli" + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/llava && $(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/llava-cli.dir/link.txt --verbose=$(VERBOSE) + +# Rule to build all files generated by this target. +llava/CMakeFiles/llava-cli.dir/build: llava/llava-cli +.PHONY : llava/CMakeFiles/llava-cli.dir/build + +llava/CMakeFiles/llava-cli.dir/clean: + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/llava && $(CMAKE_COMMAND) -P CMakeFiles/llava-cli.dir/cmake_clean.cmake +.PHONY : llava/CMakeFiles/llava-cli.dir/clean + +llava/CMakeFiles/llava-cli.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/llava /home/jianyuzh/ws/llama.cpp/develop/examples/sycl /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/llava /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/llava/CMakeFiles/llava-cli.dir/DependInfo.cmake --color=$(COLOR) +.PHONY : llava/CMakeFiles/llava-cli.dir/depend + diff --git a/examples/sycl/llava/CMakeFiles/llava-cli.dir/cmake_clean.cmake b/examples/sycl/llava/CMakeFiles/llava-cli.dir/cmake_clean.cmake new file mode 100644 index 000000000..9028260a0 --- /dev/null +++ b/examples/sycl/llava/CMakeFiles/llava-cli.dir/cmake_clean.cmake @@ -0,0 +1,11 @@ +file(REMOVE_RECURSE + "CMakeFiles/llava-cli.dir/llava-cli.o" + "CMakeFiles/llava-cli.dir/llava-cli.o.d" + "llava-cli" + "llava-cli.pdb" +) + +# Per-language clean rules from dependency scanning. +foreach(lang CXX) + include(CMakeFiles/llava-cli.dir/cmake_clean_${lang}.cmake OPTIONAL) +endforeach() diff --git a/examples/sycl/llava/CMakeFiles/llava-cli.dir/compiler_depend.make b/examples/sycl/llava/CMakeFiles/llava-cli.dir/compiler_depend.make new file mode 100644 index 000000000..0814eb432 --- /dev/null +++ b/examples/sycl/llava/CMakeFiles/llava-cli.dir/compiler_depend.make @@ -0,0 +1,2 @@ +# Empty compiler generated dependencies file for llava-cli. +# This may be replaced when dependencies are built. diff --git a/examples/sycl/llava/CMakeFiles/llava-cli.dir/compiler_depend.ts b/examples/sycl/llava/CMakeFiles/llava-cli.dir/compiler_depend.ts new file mode 100644 index 000000000..23b629e3f --- /dev/null +++ b/examples/sycl/llava/CMakeFiles/llava-cli.dir/compiler_depend.ts @@ -0,0 +1,2 @@ +# CMAKE generated file: DO NOT EDIT! +# Timestamp file for compiler generated dependencies management for llava-cli. diff --git a/examples/sycl/llava/CMakeFiles/llava-cli.dir/depend.make b/examples/sycl/llava/CMakeFiles/llava-cli.dir/depend.make new file mode 100644 index 000000000..42964b654 --- /dev/null +++ b/examples/sycl/llava/CMakeFiles/llava-cli.dir/depend.make @@ -0,0 +1,2 @@ +# Empty dependencies file for llava-cli. +# This may be replaced when dependencies are built. diff --git a/examples/sycl/llava/CMakeFiles/llava-cli.dir/flags.make b/examples/sycl/llava/CMakeFiles/llava-cli.dir/flags.make new file mode 100644 index 000000000..dd2a15593 --- /dev/null +++ b/examples/sycl/llava/CMakeFiles/llava-cli.dir/flags.make @@ -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/llava/. -I/home/jianyuzh/ws/llama.cpp/develop/examples/llava/../.. -I/home/jianyuzh/ws/llama.cpp/develop/examples/llava/../../common + +CXX_FLAGS = + diff --git a/examples/sycl/llava/CMakeFiles/llava-cli.dir/link.txt b/examples/sycl/llava/CMakeFiles/llava-cli.dir/link.txt new file mode 100644 index 000000000..2dc90433d --- /dev/null +++ b/examples/sycl/llava/CMakeFiles/llava-cli.dir/link.txt @@ -0,0 +1 @@ +/opt/intel/oneapi/compiler/2024.0/bin/icpx -rdynamic CMakeFiles/llava-cli.dir/llava-cli.o CMakeFiles/llava.dir/llava.o CMakeFiles/llava.dir/clip.o -o llava-cli -lcommon -lllama -lggml -lllama diff --git a/examples/sycl/llava/CMakeFiles/llava-cli.dir/progress.make b/examples/sycl/llava/CMakeFiles/llava-cli.dir/progress.make new file mode 100644 index 000000000..9fd0bf530 --- /dev/null +++ b/examples/sycl/llava/CMakeFiles/llava-cli.dir/progress.make @@ -0,0 +1,3 @@ +CMAKE_PROGRESS_1 = 25 +CMAKE_PROGRESS_2 = 26 + diff --git a/examples/sycl/llava/CMakeFiles/llava.dir/DependInfo.cmake b/examples/sycl/llava/CMakeFiles/llava.dir/DependInfo.cmake new file mode 100644 index 000000000..961245706 --- /dev/null +++ b/examples/sycl/llava/CMakeFiles/llava.dir/DependInfo.cmake @@ -0,0 +1,20 @@ + +# 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/llava/clip.cpp" "llava/CMakeFiles/llava.dir/clip.o" "gcc" "llava/CMakeFiles/llava.dir/clip.o.d" + "/home/jianyuzh/ws/llama.cpp/develop/examples/llava/llava.cpp" "llava/CMakeFiles/llava.dir/llava.o" "gcc" "llava/CMakeFiles/llava.dir/llava.o.d" + ) + +# Targets to which this target links. +set(CMAKE_TARGET_LINKED_INFO_FILES + ) + +# Fortran module output directory. +set(CMAKE_Fortran_TARGET_MODULE_DIR "") diff --git a/examples/sycl/llava/CMakeFiles/llava.dir/build.make b/examples/sycl/llava/CMakeFiles/llava.dir/build.make new file mode 100644 index 000000000..1750c0955 --- /dev/null +++ b/examples/sycl/llava/CMakeFiles/llava.dir/build.make @@ -0,0 +1,116 @@ +# 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 llava/CMakeFiles/llava.dir/depend.make +# Include any dependencies generated by the compiler for this target. +include llava/CMakeFiles/llava.dir/compiler_depend.make + +# Include the progress variables for this target. +include llava/CMakeFiles/llava.dir/progress.make + +# Include the compile flags for this target's objects. +include llava/CMakeFiles/llava.dir/flags.make + +llava/CMakeFiles/llava.dir/llava.o: llava/CMakeFiles/llava.dir/flags.make +llava/CMakeFiles/llava.dir/llava.o: ../llava/llava.cpp +llava/CMakeFiles/llava.dir/llava.o: llava/CMakeFiles/llava.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 llava/CMakeFiles/llava.dir/llava.o" + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/llava && /opt/intel/oneapi/compiler/2024.0/bin/icpx $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -MD -MT llava/CMakeFiles/llava.dir/llava.o -MF CMakeFiles/llava.dir/llava.o.d -o CMakeFiles/llava.dir/llava.o -c /home/jianyuzh/ws/llama.cpp/develop/examples/llava/llava.cpp + +llava/CMakeFiles/llava.dir/llava.i: cmake_force + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/llava.dir/llava.i" + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/llava && /opt/intel/oneapi/compiler/2024.0/bin/icpx $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /home/jianyuzh/ws/llama.cpp/develop/examples/llava/llava.cpp > CMakeFiles/llava.dir/llava.i + +llava/CMakeFiles/llava.dir/llava.s: cmake_force + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/llava.dir/llava.s" + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/llava && /opt/intel/oneapi/compiler/2024.0/bin/icpx $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /home/jianyuzh/ws/llama.cpp/develop/examples/llava/llava.cpp -o CMakeFiles/llava.dir/llava.s + +llava/CMakeFiles/llava.dir/clip.o: llava/CMakeFiles/llava.dir/flags.make +llava/CMakeFiles/llava.dir/clip.o: ../llava/clip.cpp +llava/CMakeFiles/llava.dir/clip.o: llava/CMakeFiles/llava.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_2) "Building CXX object llava/CMakeFiles/llava.dir/clip.o" + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/llava && /opt/intel/oneapi/compiler/2024.0/bin/icpx $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -MD -MT llava/CMakeFiles/llava.dir/clip.o -MF CMakeFiles/llava.dir/clip.o.d -o CMakeFiles/llava.dir/clip.o -c /home/jianyuzh/ws/llama.cpp/develop/examples/llava/clip.cpp + +llava/CMakeFiles/llava.dir/clip.i: cmake_force + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/llava.dir/clip.i" + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/llava && /opt/intel/oneapi/compiler/2024.0/bin/icpx $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /home/jianyuzh/ws/llama.cpp/develop/examples/llava/clip.cpp > CMakeFiles/llava.dir/clip.i + +llava/CMakeFiles/llava.dir/clip.s: cmake_force + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/llava.dir/clip.s" + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/llava && /opt/intel/oneapi/compiler/2024.0/bin/icpx $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /home/jianyuzh/ws/llama.cpp/develop/examples/llava/clip.cpp -o CMakeFiles/llava.dir/clip.s + +llava: llava/CMakeFiles/llava.dir/llava.o +llava: llava/CMakeFiles/llava.dir/clip.o +llava: llava/CMakeFiles/llava.dir/build.make +.PHONY : llava + +# Rule to build all files generated by this target. +llava/CMakeFiles/llava.dir/build: llava +.PHONY : llava/CMakeFiles/llava.dir/build + +llava/CMakeFiles/llava.dir/clean: + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/llava && $(CMAKE_COMMAND) -P CMakeFiles/llava.dir/cmake_clean.cmake +.PHONY : llava/CMakeFiles/llava.dir/clean + +llava/CMakeFiles/llava.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/llava /home/jianyuzh/ws/llama.cpp/develop/examples/sycl /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/llava /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/llava/CMakeFiles/llava.dir/DependInfo.cmake --color=$(COLOR) +.PHONY : llava/CMakeFiles/llava.dir/depend + diff --git a/examples/sycl/llava/CMakeFiles/llava.dir/cmake_clean.cmake b/examples/sycl/llava/CMakeFiles/llava.dir/cmake_clean.cmake new file mode 100644 index 000000000..3883a0e37 --- /dev/null +++ b/examples/sycl/llava/CMakeFiles/llava.dir/cmake_clean.cmake @@ -0,0 +1,11 @@ +file(REMOVE_RECURSE + "CMakeFiles/llava.dir/clip.o" + "CMakeFiles/llava.dir/clip.o.d" + "CMakeFiles/llava.dir/llava.o" + "CMakeFiles/llava.dir/llava.o.d" +) + +# Per-language clean rules from dependency scanning. +foreach(lang CXX) + include(CMakeFiles/llava.dir/cmake_clean_${lang}.cmake OPTIONAL) +endforeach() diff --git a/examples/sycl/llava/CMakeFiles/llava.dir/compiler_depend.make b/examples/sycl/llava/CMakeFiles/llava.dir/compiler_depend.make new file mode 100644 index 000000000..6dac2f664 --- /dev/null +++ b/examples/sycl/llava/CMakeFiles/llava.dir/compiler_depend.make @@ -0,0 +1,2 @@ +# Empty compiler generated dependencies file for llava. +# This may be replaced when dependencies are built. diff --git a/examples/sycl/llava/CMakeFiles/llava.dir/compiler_depend.ts b/examples/sycl/llava/CMakeFiles/llava.dir/compiler_depend.ts new file mode 100644 index 000000000..4e2caa7ae --- /dev/null +++ b/examples/sycl/llava/CMakeFiles/llava.dir/compiler_depend.ts @@ -0,0 +1,2 @@ +# CMAKE generated file: DO NOT EDIT! +# Timestamp file for compiler generated dependencies management for llava. diff --git a/examples/sycl/llava/CMakeFiles/llava.dir/depend.make b/examples/sycl/llava/CMakeFiles/llava.dir/depend.make new file mode 100644 index 000000000..c853fa62d --- /dev/null +++ b/examples/sycl/llava/CMakeFiles/llava.dir/depend.make @@ -0,0 +1,2 @@ +# Empty dependencies file for llava. +# This may be replaced when dependencies are built. diff --git a/examples/sycl/llava/CMakeFiles/llava.dir/flags.make b/examples/sycl/llava/CMakeFiles/llava.dir/flags.make new file mode 100644 index 000000000..badb2e522 --- /dev/null +++ b/examples/sycl/llava/CMakeFiles/llava.dir/flags.make @@ -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/llava/. -I/home/jianyuzh/ws/llama.cpp/develop/examples/llava/../.. -I/home/jianyuzh/ws/llama.cpp/develop/examples/llava/../../common + +CXX_FLAGS = -Wno-cast-qual + diff --git a/examples/sycl/llava/CMakeFiles/llava.dir/progress.make b/examples/sycl/llava/CMakeFiles/llava.dir/progress.make new file mode 100644 index 000000000..6c29f4fb5 --- /dev/null +++ b/examples/sycl/llava/CMakeFiles/llava.dir/progress.make @@ -0,0 +1,3 @@ +CMAKE_PROGRESS_1 = 23 +CMAKE_PROGRESS_2 = 24 + diff --git a/examples/sycl/llava/CMakeFiles/llava_static.dir/DependInfo.cmake b/examples/sycl/llava/CMakeFiles/llava_static.dir/DependInfo.cmake new file mode 100644 index 000000000..dc55e44b5 --- /dev/null +++ b/examples/sycl/llava/CMakeFiles/llava_static.dir/DependInfo.cmake @@ -0,0 +1,18 @@ + +# 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 + ) + +# Targets to which this target links. +set(CMAKE_TARGET_LINKED_INFO_FILES + ) + +# Fortran module output directory. +set(CMAKE_Fortran_TARGET_MODULE_DIR "") diff --git a/examples/sycl/llava/CMakeFiles/llava_static.dir/build.make b/examples/sycl/llava/CMakeFiles/llava_static.dir/build.make new file mode 100644 index 000000000..204fef459 --- /dev/null +++ b/examples/sycl/llava/CMakeFiles/llava_static.dir/build.make @@ -0,0 +1,99 @@ +# 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 llava/CMakeFiles/llava_static.dir/depend.make +# Include any dependencies generated by the compiler for this target. +include llava/CMakeFiles/llava_static.dir/compiler_depend.make + +# Include the progress variables for this target. +include llava/CMakeFiles/llava_static.dir/progress.make + +# Include the compile flags for this target's objects. +include llava/CMakeFiles/llava_static.dir/flags.make + +# Object files for target llava_static +llava_static_OBJECTS = + +# External object files for target llava_static +llava_static_EXTERNAL_OBJECTS = \ +"/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/llava/CMakeFiles/llava.dir/llava.o" \ +"/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/llava/CMakeFiles/llava.dir/clip.o" + +llava/libllava_static.a: llava/CMakeFiles/llava.dir/llava.o +llava/libllava_static.a: llava/CMakeFiles/llava.dir/clip.o +llava/libllava_static.a: llava/CMakeFiles/llava_static.dir/build.make +llava/libllava_static.a: llava/CMakeFiles/llava_static.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_1) "Linking CXX static library libllava_static.a" + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/llava && $(CMAKE_COMMAND) -P CMakeFiles/llava_static.dir/cmake_clean_target.cmake + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/llava && $(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/llava_static.dir/link.txt --verbose=$(VERBOSE) + +# Rule to build all files generated by this target. +llava/CMakeFiles/llava_static.dir/build: llava/libllava_static.a +.PHONY : llava/CMakeFiles/llava_static.dir/build + +llava/CMakeFiles/llava_static.dir/clean: + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/llava && $(CMAKE_COMMAND) -P CMakeFiles/llava_static.dir/cmake_clean.cmake +.PHONY : llava/CMakeFiles/llava_static.dir/clean + +llava/CMakeFiles/llava_static.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/llava /home/jianyuzh/ws/llama.cpp/develop/examples/sycl /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/llava /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/llava/CMakeFiles/llava_static.dir/DependInfo.cmake --color=$(COLOR) +.PHONY : llava/CMakeFiles/llava_static.dir/depend + diff --git a/examples/sycl/llava/CMakeFiles/llava_static.dir/cmake_clean.cmake b/examples/sycl/llava/CMakeFiles/llava_static.dir/cmake_clean.cmake new file mode 100644 index 000000000..f45eae462 --- /dev/null +++ b/examples/sycl/llava/CMakeFiles/llava_static.dir/cmake_clean.cmake @@ -0,0 +1,9 @@ +file(REMOVE_RECURSE + "libllava_static.a" + "libllava_static.pdb" +) + +# Per-language clean rules from dependency scanning. +foreach(lang CXX) + include(CMakeFiles/llava_static.dir/cmake_clean_${lang}.cmake OPTIONAL) +endforeach() diff --git a/examples/sycl/llava/CMakeFiles/llava_static.dir/cmake_clean_target.cmake b/examples/sycl/llava/CMakeFiles/llava_static.dir/cmake_clean_target.cmake new file mode 100644 index 000000000..811ad1cc6 --- /dev/null +++ b/examples/sycl/llava/CMakeFiles/llava_static.dir/cmake_clean_target.cmake @@ -0,0 +1,3 @@ +file(REMOVE_RECURSE + "libllava_static.a" +) diff --git a/examples/sycl/llava/CMakeFiles/llava_static.dir/compiler_depend.make b/examples/sycl/llava/CMakeFiles/llava_static.dir/compiler_depend.make new file mode 100644 index 000000000..53d1fc0d0 --- /dev/null +++ b/examples/sycl/llava/CMakeFiles/llava_static.dir/compiler_depend.make @@ -0,0 +1,2 @@ +# Empty compiler generated dependencies file for llava_static. +# This may be replaced when dependencies are built. diff --git a/examples/sycl/llava/CMakeFiles/llava_static.dir/compiler_depend.ts b/examples/sycl/llava/CMakeFiles/llava_static.dir/compiler_depend.ts new file mode 100644 index 000000000..795a3979c --- /dev/null +++ b/examples/sycl/llava/CMakeFiles/llava_static.dir/compiler_depend.ts @@ -0,0 +1,2 @@ +# CMAKE generated file: DO NOT EDIT! +# Timestamp file for compiler generated dependencies management for llava_static. diff --git a/examples/sycl/llava/CMakeFiles/llava_static.dir/depend.make b/examples/sycl/llava/CMakeFiles/llava_static.dir/depend.make new file mode 100644 index 000000000..dbb3703db --- /dev/null +++ b/examples/sycl/llava/CMakeFiles/llava_static.dir/depend.make @@ -0,0 +1,2 @@ +# Empty dependencies file for llava_static. +# This may be replaced when dependencies are built. diff --git a/examples/sycl/llava/CMakeFiles/llava_static.dir/flags.make b/examples/sycl/llava/CMakeFiles/llava_static.dir/flags.make new file mode 100644 index 000000000..6bddd3d69 --- /dev/null +++ b/examples/sycl/llava/CMakeFiles/llava_static.dir/flags.make @@ -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 = + diff --git a/examples/sycl/llava/CMakeFiles/llava_static.dir/link.txt b/examples/sycl/llava/CMakeFiles/llava_static.dir/link.txt new file mode 100644 index 000000000..c3f37a40b --- /dev/null +++ b/examples/sycl/llava/CMakeFiles/llava_static.dir/link.txt @@ -0,0 +1,2 @@ +/usr/bin/ar qc libllava_static.a CMakeFiles/llava.dir/llava.o CMakeFiles/llava.dir/clip.o +/usr/bin/ranlib libllava_static.a diff --git a/examples/sycl/llava/CMakeFiles/llava_static.dir/progress.make b/examples/sycl/llava/CMakeFiles/llava_static.dir/progress.make new file mode 100644 index 000000000..6e61838c6 --- /dev/null +++ b/examples/sycl/llava/CMakeFiles/llava_static.dir/progress.make @@ -0,0 +1,2 @@ +CMAKE_PROGRESS_1 = 27 + diff --git a/examples/sycl/llava/CMakeFiles/progress.marks b/examples/sycl/llava/CMakeFiles/progress.marks new file mode 100644 index 000000000..7ed6ff82d --- /dev/null +++ b/examples/sycl/llava/CMakeFiles/progress.marks @@ -0,0 +1 @@ +5 diff --git a/examples/sycl/llava/Makefile b/examples/sycl/llava/Makefile new file mode 100644 index 000000000..fba626a99 --- /dev/null +++ b/examples/sycl/llava/Makefile @@ -0,0 +1,288 @@ +# 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/llava//CMakeFiles/progress.marks + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 llava/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 llava/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 llava/preinstall +.PHONY : preinstall + +# Prepare targets for installation. +preinstall/fast: + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 llava/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. +llava/CMakeFiles/llava.dir/rule: + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 llava/CMakeFiles/llava.dir/rule +.PHONY : llava/CMakeFiles/llava.dir/rule + +# Convenience name for target. +llava: llava/CMakeFiles/llava.dir/rule +.PHONY : llava + +# fast build rule for target. +llava/fast: + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f llava/CMakeFiles/llava.dir/build.make llava/CMakeFiles/llava.dir/build +.PHONY : llava/fast + +# Convenience name for target. +llava/CMakeFiles/llava_static.dir/rule: + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 llava/CMakeFiles/llava_static.dir/rule +.PHONY : llava/CMakeFiles/llava_static.dir/rule + +# Convenience name for target. +llava_static: llava/CMakeFiles/llava_static.dir/rule +.PHONY : llava_static + +# fast build rule for target. +llava_static/fast: + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f llava/CMakeFiles/llava_static.dir/build.make llava/CMakeFiles/llava_static.dir/build +.PHONY : llava_static/fast + +# Convenience name for target. +llava/CMakeFiles/llava-cli.dir/rule: + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 llava/CMakeFiles/llava-cli.dir/rule +.PHONY : llava/CMakeFiles/llava-cli.dir/rule + +# Convenience name for target. +llava-cli: llava/CMakeFiles/llava-cli.dir/rule +.PHONY : llava-cli + +# fast build rule for target. +llava-cli/fast: + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f llava/CMakeFiles/llava-cli.dir/build.make llava/CMakeFiles/llava-cli.dir/build +.PHONY : llava-cli/fast + +# target to build an object file +clip.o: + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f llava/CMakeFiles/llava.dir/build.make llava/CMakeFiles/llava.dir/clip.o +.PHONY : clip.o + +# target to preprocess a source file +clip.i: + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f llava/CMakeFiles/llava.dir/build.make llava/CMakeFiles/llava.dir/clip.i +.PHONY : clip.i + +# target to generate assembly for a file +clip.s: + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f llava/CMakeFiles/llava.dir/build.make llava/CMakeFiles/llava.dir/clip.s +.PHONY : clip.s + +# target to build an object file +llava-cli.o: + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f llava/CMakeFiles/llava-cli.dir/build.make llava/CMakeFiles/llava-cli.dir/llava-cli.o +.PHONY : llava-cli.o + +# target to preprocess a source file +llava-cli.i: + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f llava/CMakeFiles/llava-cli.dir/build.make llava/CMakeFiles/llava-cli.dir/llava-cli.i +.PHONY : llava-cli.i + +# target to generate assembly for a file +llava-cli.s: + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f llava/CMakeFiles/llava-cli.dir/build.make llava/CMakeFiles/llava-cli.dir/llava-cli.s +.PHONY : llava-cli.s + +# target to build an object file +llava.o: + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f llava/CMakeFiles/llava.dir/build.make llava/CMakeFiles/llava.dir/llava.o +.PHONY : llava.o + +# target to preprocess a source file +llava.i: + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f llava/CMakeFiles/llava.dir/build.make llava/CMakeFiles/llava.dir/llava.i +.PHONY : llava.i + +# target to generate assembly for a file +llava.s: + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f llava/CMakeFiles/llava.dir/build.make llava/CMakeFiles/llava.dir/llava.s +.PHONY : llava.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 "... llava" + @echo "... llava-cli" + @echo "... llava_static" + @echo "... clip.o" + @echo "... clip.i" + @echo "... clip.s" + @echo "... llava-cli.o" + @echo "... llava-cli.i" + @echo "... llava-cli.s" + @echo "... llava.o" + @echo "... llava.i" + @echo "... llava.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 + diff --git a/examples/sycl/llava/cmake_install.cmake b/examples/sycl/llava/cmake_install.cmake new file mode 100644 index 000000000..babdc4590 --- /dev/null +++ b/examples/sycl/llava/cmake_install.cmake @@ -0,0 +1,60 @@ +# Install script for directory: /home/jianyuzh/ws/llama.cpp/develop/examples/llava + +# 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/llava-cli" AND + NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/llava-cli") + file(RPATH_CHECK + FILE "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/llava-cli" + RPATH "") + endif() + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/bin" TYPE EXECUTABLE FILES "/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/llava/llava-cli") + if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/llava-cli" AND + NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/llava-cli") + if(CMAKE_INSTALL_DO_STRIP) + execute_process(COMMAND "/usr/bin/strip" "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/llava-cli") + endif() + endif() +endif() + diff --git a/examples/sycl/lookahead/CMakeFiles/CMakeDirectoryInformation.cmake b/examples/sycl/lookahead/CMakeFiles/CMakeDirectoryInformation.cmake new file mode 100644 index 000000000..5c593a473 --- /dev/null +++ b/examples/sycl/lookahead/CMakeFiles/CMakeDirectoryInformation.cmake @@ -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}) diff --git a/examples/sycl/lookahead/CMakeFiles/lookahead.dir/DependInfo.cmake b/examples/sycl/lookahead/CMakeFiles/lookahead.dir/DependInfo.cmake new file mode 100644 index 000000000..275ad578c --- /dev/null +++ b/examples/sycl/lookahead/CMakeFiles/lookahead.dir/DependInfo.cmake @@ -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/lookahead/lookahead.cpp" "lookahead/CMakeFiles/lookahead.dir/lookahead.o" "gcc" "lookahead/CMakeFiles/lookahead.dir/lookahead.o.d" + ) + +# Targets to which this target links. +set(CMAKE_TARGET_LINKED_INFO_FILES + ) + +# Fortran module output directory. +set(CMAKE_Fortran_TARGET_MODULE_DIR "") diff --git a/examples/sycl/lookahead/CMakeFiles/lookahead.dir/build.make b/examples/sycl/lookahead/CMakeFiles/lookahead.dir/build.make new file mode 100644 index 000000000..28e8b3553 --- /dev/null +++ b/examples/sycl/lookahead/CMakeFiles/lookahead.dir/build.make @@ -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 lookahead/CMakeFiles/lookahead.dir/depend.make +# Include any dependencies generated by the compiler for this target. +include lookahead/CMakeFiles/lookahead.dir/compiler_depend.make + +# Include the progress variables for this target. +include lookahead/CMakeFiles/lookahead.dir/progress.make + +# Include the compile flags for this target's objects. +include lookahead/CMakeFiles/lookahead.dir/flags.make + +lookahead/CMakeFiles/lookahead.dir/lookahead.o: lookahead/CMakeFiles/lookahead.dir/flags.make +lookahead/CMakeFiles/lookahead.dir/lookahead.o: ../lookahead/lookahead.cpp +lookahead/CMakeFiles/lookahead.dir/lookahead.o: lookahead/CMakeFiles/lookahead.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 lookahead/CMakeFiles/lookahead.dir/lookahead.o" + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/lookahead && /opt/intel/oneapi/compiler/2024.0/bin/icpx $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -MD -MT lookahead/CMakeFiles/lookahead.dir/lookahead.o -MF CMakeFiles/lookahead.dir/lookahead.o.d -o CMakeFiles/lookahead.dir/lookahead.o -c /home/jianyuzh/ws/llama.cpp/develop/examples/lookahead/lookahead.cpp + +lookahead/CMakeFiles/lookahead.dir/lookahead.i: cmake_force + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/lookahead.dir/lookahead.i" + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/lookahead && /opt/intel/oneapi/compiler/2024.0/bin/icpx $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /home/jianyuzh/ws/llama.cpp/develop/examples/lookahead/lookahead.cpp > CMakeFiles/lookahead.dir/lookahead.i + +lookahead/CMakeFiles/lookahead.dir/lookahead.s: cmake_force + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/lookahead.dir/lookahead.s" + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/lookahead && /opt/intel/oneapi/compiler/2024.0/bin/icpx $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /home/jianyuzh/ws/llama.cpp/develop/examples/lookahead/lookahead.cpp -o CMakeFiles/lookahead.dir/lookahead.s + +# Object files for target lookahead +lookahead_OBJECTS = \ +"CMakeFiles/lookahead.dir/lookahead.o" + +# External object files for target lookahead +lookahead_EXTERNAL_OBJECTS = + +lookahead/lookahead: lookahead/CMakeFiles/lookahead.dir/lookahead.o +lookahead/lookahead: lookahead/CMakeFiles/lookahead.dir/build.make +lookahead/lookahead: lookahead/CMakeFiles/lookahead.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 lookahead" + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/lookahead && $(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/lookahead.dir/link.txt --verbose=$(VERBOSE) + +# Rule to build all files generated by this target. +lookahead/CMakeFiles/lookahead.dir/build: lookahead/lookahead +.PHONY : lookahead/CMakeFiles/lookahead.dir/build + +lookahead/CMakeFiles/lookahead.dir/clean: + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/lookahead && $(CMAKE_COMMAND) -P CMakeFiles/lookahead.dir/cmake_clean.cmake +.PHONY : lookahead/CMakeFiles/lookahead.dir/clean + +lookahead/CMakeFiles/lookahead.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/lookahead /home/jianyuzh/ws/llama.cpp/develop/examples/sycl /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/lookahead /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/lookahead/CMakeFiles/lookahead.dir/DependInfo.cmake --color=$(COLOR) +.PHONY : lookahead/CMakeFiles/lookahead.dir/depend + diff --git a/examples/sycl/lookahead/CMakeFiles/lookahead.dir/cmake_clean.cmake b/examples/sycl/lookahead/CMakeFiles/lookahead.dir/cmake_clean.cmake new file mode 100644 index 000000000..1784906a4 --- /dev/null +++ b/examples/sycl/lookahead/CMakeFiles/lookahead.dir/cmake_clean.cmake @@ -0,0 +1,11 @@ +file(REMOVE_RECURSE + "CMakeFiles/lookahead.dir/lookahead.o" + "CMakeFiles/lookahead.dir/lookahead.o.d" + "lookahead" + "lookahead.pdb" +) + +# Per-language clean rules from dependency scanning. +foreach(lang CXX) + include(CMakeFiles/lookahead.dir/cmake_clean_${lang}.cmake OPTIONAL) +endforeach() diff --git a/examples/sycl/lookahead/CMakeFiles/lookahead.dir/compiler_depend.make b/examples/sycl/lookahead/CMakeFiles/lookahead.dir/compiler_depend.make new file mode 100644 index 000000000..e16e15b4e --- /dev/null +++ b/examples/sycl/lookahead/CMakeFiles/lookahead.dir/compiler_depend.make @@ -0,0 +1,2 @@ +# Empty compiler generated dependencies file for lookahead. +# This may be replaced when dependencies are built. diff --git a/examples/sycl/lookahead/CMakeFiles/lookahead.dir/compiler_depend.ts b/examples/sycl/lookahead/CMakeFiles/lookahead.dir/compiler_depend.ts new file mode 100644 index 000000000..abdca0739 --- /dev/null +++ b/examples/sycl/lookahead/CMakeFiles/lookahead.dir/compiler_depend.ts @@ -0,0 +1,2 @@ +# CMAKE generated file: DO NOT EDIT! +# Timestamp file for compiler generated dependencies management for lookahead. diff --git a/examples/sycl/lookahead/CMakeFiles/lookahead.dir/depend.make b/examples/sycl/lookahead/CMakeFiles/lookahead.dir/depend.make new file mode 100644 index 000000000..0aaa54f62 --- /dev/null +++ b/examples/sycl/lookahead/CMakeFiles/lookahead.dir/depend.make @@ -0,0 +1,2 @@ +# Empty dependencies file for lookahead. +# This may be replaced when dependencies are built. diff --git a/examples/sycl/lookahead/CMakeFiles/lookahead.dir/flags.make b/examples/sycl/lookahead/CMakeFiles/lookahead.dir/flags.make new file mode 100644 index 000000000..6bddd3d69 --- /dev/null +++ b/examples/sycl/lookahead/CMakeFiles/lookahead.dir/flags.make @@ -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 = + diff --git a/examples/sycl/lookahead/CMakeFiles/lookahead.dir/link.txt b/examples/sycl/lookahead/CMakeFiles/lookahead.dir/link.txt new file mode 100644 index 000000000..490524c8c --- /dev/null +++ b/examples/sycl/lookahead/CMakeFiles/lookahead.dir/link.txt @@ -0,0 +1 @@ +/opt/intel/oneapi/compiler/2024.0/bin/icpx -rdynamic CMakeFiles/lookahead.dir/lookahead.o -o lookahead -lcommon -lllama diff --git a/examples/sycl/lookahead/CMakeFiles/lookahead.dir/progress.make b/examples/sycl/lookahead/CMakeFiles/lookahead.dir/progress.make new file mode 100644 index 000000000..ec204d332 --- /dev/null +++ b/examples/sycl/lookahead/CMakeFiles/lookahead.dir/progress.make @@ -0,0 +1,3 @@ +CMAKE_PROGRESS_1 = 28 +CMAKE_PROGRESS_2 = 29 + diff --git a/examples/sycl/lookahead/CMakeFiles/progress.marks b/examples/sycl/lookahead/CMakeFiles/progress.marks new file mode 100644 index 000000000..0cfbf0888 --- /dev/null +++ b/examples/sycl/lookahead/CMakeFiles/progress.marks @@ -0,0 +1 @@ +2 diff --git a/examples/sycl/lookahead/Makefile b/examples/sycl/lookahead/Makefile new file mode 100644 index 000000000..b6028417d --- /dev/null +++ b/examples/sycl/lookahead/Makefile @@ -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/lookahead//CMakeFiles/progress.marks + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 lookahead/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 lookahead/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 lookahead/preinstall +.PHONY : preinstall + +# Prepare targets for installation. +preinstall/fast: + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 lookahead/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. +lookahead/CMakeFiles/lookahead.dir/rule: + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 lookahead/CMakeFiles/lookahead.dir/rule +.PHONY : lookahead/CMakeFiles/lookahead.dir/rule + +# Convenience name for target. +lookahead: lookahead/CMakeFiles/lookahead.dir/rule +.PHONY : lookahead + +# fast build rule for target. +lookahead/fast: + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f lookahead/CMakeFiles/lookahead.dir/build.make lookahead/CMakeFiles/lookahead.dir/build +.PHONY : lookahead/fast + +# target to build an object file +lookahead.o: + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f lookahead/CMakeFiles/lookahead.dir/build.make lookahead/CMakeFiles/lookahead.dir/lookahead.o +.PHONY : lookahead.o + +# target to preprocess a source file +lookahead.i: + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f lookahead/CMakeFiles/lookahead.dir/build.make lookahead/CMakeFiles/lookahead.dir/lookahead.i +.PHONY : lookahead.i + +# target to generate assembly for a file +lookahead.s: + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f lookahead/CMakeFiles/lookahead.dir/build.make lookahead/CMakeFiles/lookahead.dir/lookahead.s +.PHONY : lookahead.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 "... lookahead" + @echo "... lookahead.o" + @echo "... lookahead.i" + @echo "... lookahead.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 + diff --git a/examples/sycl/lookahead/cmake_install.cmake b/examples/sycl/lookahead/cmake_install.cmake new file mode 100644 index 000000000..9a2af7213 --- /dev/null +++ b/examples/sycl/lookahead/cmake_install.cmake @@ -0,0 +1,60 @@ +# Install script for directory: /home/jianyuzh/ws/llama.cpp/develop/examples/lookahead + +# 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/lookahead" AND + NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/lookahead") + file(RPATH_CHECK + FILE "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/lookahead" + RPATH "") + endif() + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/bin" TYPE EXECUTABLE FILES "/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/lookahead/lookahead") + if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/lookahead" AND + NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/lookahead") + if(CMAKE_INSTALL_DO_STRIP) + execute_process(COMMAND "/usr/bin/strip" "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/lookahead") + endif() + endif() +endif() + diff --git a/examples/sycl/lookup/CMakeFiles/CMakeDirectoryInformation.cmake b/examples/sycl/lookup/CMakeFiles/CMakeDirectoryInformation.cmake new file mode 100644 index 000000000..5c593a473 --- /dev/null +++ b/examples/sycl/lookup/CMakeFiles/CMakeDirectoryInformation.cmake @@ -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}) diff --git a/examples/sycl/lookup/CMakeFiles/lookup.dir/DependInfo.cmake b/examples/sycl/lookup/CMakeFiles/lookup.dir/DependInfo.cmake new file mode 100644 index 000000000..235904a16 --- /dev/null +++ b/examples/sycl/lookup/CMakeFiles/lookup.dir/DependInfo.cmake @@ -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/lookup/lookup.cpp" "lookup/CMakeFiles/lookup.dir/lookup.o" "gcc" "lookup/CMakeFiles/lookup.dir/lookup.o.d" + ) + +# Targets to which this target links. +set(CMAKE_TARGET_LINKED_INFO_FILES + ) + +# Fortran module output directory. +set(CMAKE_Fortran_TARGET_MODULE_DIR "") diff --git a/examples/sycl/lookup/CMakeFiles/lookup.dir/build.make b/examples/sycl/lookup/CMakeFiles/lookup.dir/build.make new file mode 100644 index 000000000..4870a8183 --- /dev/null +++ b/examples/sycl/lookup/CMakeFiles/lookup.dir/build.make @@ -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 lookup/CMakeFiles/lookup.dir/depend.make +# Include any dependencies generated by the compiler for this target. +include lookup/CMakeFiles/lookup.dir/compiler_depend.make + +# Include the progress variables for this target. +include lookup/CMakeFiles/lookup.dir/progress.make + +# Include the compile flags for this target's objects. +include lookup/CMakeFiles/lookup.dir/flags.make + +lookup/CMakeFiles/lookup.dir/lookup.o: lookup/CMakeFiles/lookup.dir/flags.make +lookup/CMakeFiles/lookup.dir/lookup.o: ../lookup/lookup.cpp +lookup/CMakeFiles/lookup.dir/lookup.o: lookup/CMakeFiles/lookup.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 lookup/CMakeFiles/lookup.dir/lookup.o" + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/lookup && /opt/intel/oneapi/compiler/2024.0/bin/icpx $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -MD -MT lookup/CMakeFiles/lookup.dir/lookup.o -MF CMakeFiles/lookup.dir/lookup.o.d -o CMakeFiles/lookup.dir/lookup.o -c /home/jianyuzh/ws/llama.cpp/develop/examples/lookup/lookup.cpp + +lookup/CMakeFiles/lookup.dir/lookup.i: cmake_force + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/lookup.dir/lookup.i" + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/lookup && /opt/intel/oneapi/compiler/2024.0/bin/icpx $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /home/jianyuzh/ws/llama.cpp/develop/examples/lookup/lookup.cpp > CMakeFiles/lookup.dir/lookup.i + +lookup/CMakeFiles/lookup.dir/lookup.s: cmake_force + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/lookup.dir/lookup.s" + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/lookup && /opt/intel/oneapi/compiler/2024.0/bin/icpx $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /home/jianyuzh/ws/llama.cpp/develop/examples/lookup/lookup.cpp -o CMakeFiles/lookup.dir/lookup.s + +# Object files for target lookup +lookup_OBJECTS = \ +"CMakeFiles/lookup.dir/lookup.o" + +# External object files for target lookup +lookup_EXTERNAL_OBJECTS = + +lookup/lookup: lookup/CMakeFiles/lookup.dir/lookup.o +lookup/lookup: lookup/CMakeFiles/lookup.dir/build.make +lookup/lookup: lookup/CMakeFiles/lookup.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 lookup" + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/lookup && $(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/lookup.dir/link.txt --verbose=$(VERBOSE) + +# Rule to build all files generated by this target. +lookup/CMakeFiles/lookup.dir/build: lookup/lookup +.PHONY : lookup/CMakeFiles/lookup.dir/build + +lookup/CMakeFiles/lookup.dir/clean: + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/lookup && $(CMAKE_COMMAND) -P CMakeFiles/lookup.dir/cmake_clean.cmake +.PHONY : lookup/CMakeFiles/lookup.dir/clean + +lookup/CMakeFiles/lookup.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/lookup /home/jianyuzh/ws/llama.cpp/develop/examples/sycl /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/lookup /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/lookup/CMakeFiles/lookup.dir/DependInfo.cmake --color=$(COLOR) +.PHONY : lookup/CMakeFiles/lookup.dir/depend + diff --git a/examples/sycl/lookup/CMakeFiles/lookup.dir/cmake_clean.cmake b/examples/sycl/lookup/CMakeFiles/lookup.dir/cmake_clean.cmake new file mode 100644 index 000000000..395eb958c --- /dev/null +++ b/examples/sycl/lookup/CMakeFiles/lookup.dir/cmake_clean.cmake @@ -0,0 +1,11 @@ +file(REMOVE_RECURSE + "CMakeFiles/lookup.dir/lookup.o" + "CMakeFiles/lookup.dir/lookup.o.d" + "lookup" + "lookup.pdb" +) + +# Per-language clean rules from dependency scanning. +foreach(lang CXX) + include(CMakeFiles/lookup.dir/cmake_clean_${lang}.cmake OPTIONAL) +endforeach() diff --git a/examples/sycl/lookup/CMakeFiles/lookup.dir/compiler_depend.make b/examples/sycl/lookup/CMakeFiles/lookup.dir/compiler_depend.make new file mode 100644 index 000000000..ee5894814 --- /dev/null +++ b/examples/sycl/lookup/CMakeFiles/lookup.dir/compiler_depend.make @@ -0,0 +1,2 @@ +# Empty compiler generated dependencies file for lookup. +# This may be replaced when dependencies are built. diff --git a/examples/sycl/lookup/CMakeFiles/lookup.dir/compiler_depend.ts b/examples/sycl/lookup/CMakeFiles/lookup.dir/compiler_depend.ts new file mode 100644 index 000000000..7fcb2448b --- /dev/null +++ b/examples/sycl/lookup/CMakeFiles/lookup.dir/compiler_depend.ts @@ -0,0 +1,2 @@ +# CMAKE generated file: DO NOT EDIT! +# Timestamp file for compiler generated dependencies management for lookup. diff --git a/examples/sycl/lookup/CMakeFiles/lookup.dir/depend.make b/examples/sycl/lookup/CMakeFiles/lookup.dir/depend.make new file mode 100644 index 000000000..806a9a3b1 --- /dev/null +++ b/examples/sycl/lookup/CMakeFiles/lookup.dir/depend.make @@ -0,0 +1,2 @@ +# Empty dependencies file for lookup. +# This may be replaced when dependencies are built. diff --git a/examples/sycl/lookup/CMakeFiles/lookup.dir/flags.make b/examples/sycl/lookup/CMakeFiles/lookup.dir/flags.make new file mode 100644 index 000000000..6bddd3d69 --- /dev/null +++ b/examples/sycl/lookup/CMakeFiles/lookup.dir/flags.make @@ -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 = + diff --git a/examples/sycl/lookup/CMakeFiles/lookup.dir/link.txt b/examples/sycl/lookup/CMakeFiles/lookup.dir/link.txt new file mode 100644 index 000000000..7f181c941 --- /dev/null +++ b/examples/sycl/lookup/CMakeFiles/lookup.dir/link.txt @@ -0,0 +1 @@ +/opt/intel/oneapi/compiler/2024.0/bin/icpx -rdynamic CMakeFiles/lookup.dir/lookup.o -o lookup -lcommon -lllama diff --git a/examples/sycl/lookup/CMakeFiles/lookup.dir/progress.make b/examples/sycl/lookup/CMakeFiles/lookup.dir/progress.make new file mode 100644 index 000000000..335ef43aa --- /dev/null +++ b/examples/sycl/lookup/CMakeFiles/lookup.dir/progress.make @@ -0,0 +1,3 @@ +CMAKE_PROGRESS_1 = 30 +CMAKE_PROGRESS_2 = 31 + diff --git a/examples/sycl/lookup/CMakeFiles/progress.marks b/examples/sycl/lookup/CMakeFiles/progress.marks new file mode 100644 index 000000000..0cfbf0888 --- /dev/null +++ b/examples/sycl/lookup/CMakeFiles/progress.marks @@ -0,0 +1 @@ +2 diff --git a/examples/sycl/lookup/Makefile b/examples/sycl/lookup/Makefile new file mode 100644 index 000000000..d125b37f5 --- /dev/null +++ b/examples/sycl/lookup/Makefile @@ -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/lookup//CMakeFiles/progress.marks + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 lookup/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 lookup/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 lookup/preinstall +.PHONY : preinstall + +# Prepare targets for installation. +preinstall/fast: + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 lookup/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. +lookup/CMakeFiles/lookup.dir/rule: + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 lookup/CMakeFiles/lookup.dir/rule +.PHONY : lookup/CMakeFiles/lookup.dir/rule + +# Convenience name for target. +lookup: lookup/CMakeFiles/lookup.dir/rule +.PHONY : lookup + +# fast build rule for target. +lookup/fast: + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f lookup/CMakeFiles/lookup.dir/build.make lookup/CMakeFiles/lookup.dir/build +.PHONY : lookup/fast + +# target to build an object file +lookup.o: + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f lookup/CMakeFiles/lookup.dir/build.make lookup/CMakeFiles/lookup.dir/lookup.o +.PHONY : lookup.o + +# target to preprocess a source file +lookup.i: + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f lookup/CMakeFiles/lookup.dir/build.make lookup/CMakeFiles/lookup.dir/lookup.i +.PHONY : lookup.i + +# target to generate assembly for a file +lookup.s: + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f lookup/CMakeFiles/lookup.dir/build.make lookup/CMakeFiles/lookup.dir/lookup.s +.PHONY : lookup.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 "... lookup" + @echo "... lookup.o" + @echo "... lookup.i" + @echo "... lookup.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 + diff --git a/examples/sycl/lookup/cmake_install.cmake b/examples/sycl/lookup/cmake_install.cmake new file mode 100644 index 000000000..0c81d00f5 --- /dev/null +++ b/examples/sycl/lookup/cmake_install.cmake @@ -0,0 +1,60 @@ +# Install script for directory: /home/jianyuzh/ws/llama.cpp/develop/examples/lookup + +# 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/lookup" AND + NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/lookup") + file(RPATH_CHECK + FILE "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/lookup" + RPATH "") + endif() + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/bin" TYPE EXECUTABLE FILES "/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/lookup/lookup") + if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/lookup" AND + NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/lookup") + if(CMAKE_INSTALL_DO_STRIP) + execute_process(COMMAND "/usr/bin/strip" "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/lookup") + endif() + endif() +endif() + diff --git a/examples/sycl/ls-sycl-device.cpp b/examples/sycl/ls-sycl-device.cpp new file mode 100644 index 000000000..619bee9de --- /dev/null +++ b/examples/sycl/ls-sycl-device.cpp @@ -0,0 +1,60 @@ +/* + * #include "common.h" + +#include "console.h" +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +*/ + +#include "ggml-sycl.h" + +#if defined (__unix__) || (defined (__APPLE__) && defined (__MACH__)) +#include +#include +#elif defined (_WIN32) +#define WIN32_LEAN_AND_MEAN +#ifndef NOMINMAX +#define NOMINMAX +#endif +#include +#include +#endif + +#if defined(_MSC_VER) +#pragma warning(disable: 4244 4267) // possible loss of data +#endif + + + +void print_sycl_devices(){ + int device_count = dpct::dev_mgr::instance().device_count(); + fprintf(stderr, "found %d SYCL devices:\n", device_count); + for (int id = 0; id < device_count; ++id) { + dpct::device_info prop; + dpct::get_device_info( + prop, dpct::dev_mgr::instance().get_device(id)); + sycl::device cur_device = dpct::dev_mgr::instance().get_device(id); + fprintf(stderr, " Device %d: %s,\tcompute capability %d.%d,\n\tmax compute_units %d,\tmax work group size %d,\tmax sub group size %d,\tglobal mem size %lu\n", id, + prop.get_name(), prop.get_major_version(), + prop.get_minor_version(), + prop.get_max_compute_units(), + prop.get_max_work_group_size(), + prop.get_max_sub_group_size(), + prop.get_global_mem_size() + ); + } +} + +int main(int argc, char ** argv) { + print_sycl_devices(); + return 0; +} diff --git a/examples/sycl/main/CMakeFiles/CMakeDirectoryInformation.cmake b/examples/sycl/main/CMakeFiles/CMakeDirectoryInformation.cmake new file mode 100644 index 000000000..5c593a473 --- /dev/null +++ b/examples/sycl/main/CMakeFiles/CMakeDirectoryInformation.cmake @@ -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}) diff --git a/examples/sycl/main/CMakeFiles/main.dir/DependInfo.cmake b/examples/sycl/main/CMakeFiles/main.dir/DependInfo.cmake new file mode 100644 index 000000000..397618f7b --- /dev/null +++ b/examples/sycl/main/CMakeFiles/main.dir/DependInfo.cmake @@ -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/main/main.cpp" "main/CMakeFiles/main.dir/main.o" "gcc" "main/CMakeFiles/main.dir/main.o.d" + ) + +# Targets to which this target links. +set(CMAKE_TARGET_LINKED_INFO_FILES + ) + +# Fortran module output directory. +set(CMAKE_Fortran_TARGET_MODULE_DIR "") diff --git a/examples/sycl/main/CMakeFiles/main.dir/build.make b/examples/sycl/main/CMakeFiles/main.dir/build.make new file mode 100644 index 000000000..048af40ba --- /dev/null +++ b/examples/sycl/main/CMakeFiles/main.dir/build.make @@ -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 main/CMakeFiles/main.dir/depend.make +# Include any dependencies generated by the compiler for this target. +include main/CMakeFiles/main.dir/compiler_depend.make + +# Include the progress variables for this target. +include main/CMakeFiles/main.dir/progress.make + +# Include the compile flags for this target's objects. +include main/CMakeFiles/main.dir/flags.make + +main/CMakeFiles/main.dir/main.o: main/CMakeFiles/main.dir/flags.make +main/CMakeFiles/main.dir/main.o: ../main/main.cpp +main/CMakeFiles/main.dir/main.o: main/CMakeFiles/main.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 main/CMakeFiles/main.dir/main.o" + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/main && /opt/intel/oneapi/compiler/2024.0/bin/icpx $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -MD -MT main/CMakeFiles/main.dir/main.o -MF CMakeFiles/main.dir/main.o.d -o CMakeFiles/main.dir/main.o -c /home/jianyuzh/ws/llama.cpp/develop/examples/main/main.cpp + +main/CMakeFiles/main.dir/main.i: cmake_force + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/main.dir/main.i" + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/main && /opt/intel/oneapi/compiler/2024.0/bin/icpx $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /home/jianyuzh/ws/llama.cpp/develop/examples/main/main.cpp > CMakeFiles/main.dir/main.i + +main/CMakeFiles/main.dir/main.s: cmake_force + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/main.dir/main.s" + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/main && /opt/intel/oneapi/compiler/2024.0/bin/icpx $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /home/jianyuzh/ws/llama.cpp/develop/examples/main/main.cpp -o CMakeFiles/main.dir/main.s + +# Object files for target main +main_OBJECTS = \ +"CMakeFiles/main.dir/main.o" + +# External object files for target main +main_EXTERNAL_OBJECTS = + +main/main: main/CMakeFiles/main.dir/main.o +main/main: main/CMakeFiles/main.dir/build.make +main/main: main/CMakeFiles/main.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 main" + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/main && $(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/main.dir/link.txt --verbose=$(VERBOSE) + +# Rule to build all files generated by this target. +main/CMakeFiles/main.dir/build: main/main +.PHONY : main/CMakeFiles/main.dir/build + +main/CMakeFiles/main.dir/clean: + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/main && $(CMAKE_COMMAND) -P CMakeFiles/main.dir/cmake_clean.cmake +.PHONY : main/CMakeFiles/main.dir/clean + +main/CMakeFiles/main.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/main /home/jianyuzh/ws/llama.cpp/develop/examples/sycl /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/main /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/main/CMakeFiles/main.dir/DependInfo.cmake --color=$(COLOR) +.PHONY : main/CMakeFiles/main.dir/depend + diff --git a/examples/sycl/main/CMakeFiles/main.dir/cmake_clean.cmake b/examples/sycl/main/CMakeFiles/main.dir/cmake_clean.cmake new file mode 100644 index 000000000..f408648c7 --- /dev/null +++ b/examples/sycl/main/CMakeFiles/main.dir/cmake_clean.cmake @@ -0,0 +1,11 @@ +file(REMOVE_RECURSE + "CMakeFiles/main.dir/main.o" + "CMakeFiles/main.dir/main.o.d" + "main" + "main.pdb" +) + +# Per-language clean rules from dependency scanning. +foreach(lang CXX) + include(CMakeFiles/main.dir/cmake_clean_${lang}.cmake OPTIONAL) +endforeach() diff --git a/examples/sycl/main/CMakeFiles/main.dir/compiler_depend.make b/examples/sycl/main/CMakeFiles/main.dir/compiler_depend.make new file mode 100644 index 000000000..386f0a8f7 --- /dev/null +++ b/examples/sycl/main/CMakeFiles/main.dir/compiler_depend.make @@ -0,0 +1,2 @@ +# Empty compiler generated dependencies file for main. +# This may be replaced when dependencies are built. diff --git a/examples/sycl/main/CMakeFiles/main.dir/compiler_depend.ts b/examples/sycl/main/CMakeFiles/main.dir/compiler_depend.ts new file mode 100644 index 000000000..a3467f4e2 --- /dev/null +++ b/examples/sycl/main/CMakeFiles/main.dir/compiler_depend.ts @@ -0,0 +1,2 @@ +# CMAKE generated file: DO NOT EDIT! +# Timestamp file for compiler generated dependencies management for main. diff --git a/examples/sycl/main/CMakeFiles/main.dir/depend.make b/examples/sycl/main/CMakeFiles/main.dir/depend.make new file mode 100644 index 000000000..7e75fee72 --- /dev/null +++ b/examples/sycl/main/CMakeFiles/main.dir/depend.make @@ -0,0 +1,2 @@ +# Empty dependencies file for main. +# This may be replaced when dependencies are built. diff --git a/examples/sycl/main/CMakeFiles/main.dir/flags.make b/examples/sycl/main/CMakeFiles/main.dir/flags.make new file mode 100644 index 000000000..6bddd3d69 --- /dev/null +++ b/examples/sycl/main/CMakeFiles/main.dir/flags.make @@ -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 = + diff --git a/examples/sycl/main/CMakeFiles/main.dir/link.txt b/examples/sycl/main/CMakeFiles/main.dir/link.txt new file mode 100644 index 000000000..0127ad4f1 --- /dev/null +++ b/examples/sycl/main/CMakeFiles/main.dir/link.txt @@ -0,0 +1 @@ +/opt/intel/oneapi/compiler/2024.0/bin/icpx -rdynamic CMakeFiles/main.dir/main.o -o main -lcommon -lllama diff --git a/examples/sycl/main/CMakeFiles/main.dir/progress.make b/examples/sycl/main/CMakeFiles/main.dir/progress.make new file mode 100644 index 000000000..30c309113 --- /dev/null +++ b/examples/sycl/main/CMakeFiles/main.dir/progress.make @@ -0,0 +1,3 @@ +CMAKE_PROGRESS_1 = 34 +CMAKE_PROGRESS_2 = 35 + diff --git a/examples/sycl/main/CMakeFiles/progress.marks b/examples/sycl/main/CMakeFiles/progress.marks new file mode 100644 index 000000000..0cfbf0888 --- /dev/null +++ b/examples/sycl/main/CMakeFiles/progress.marks @@ -0,0 +1 @@ +2 diff --git a/examples/sycl/main/Makefile b/examples/sycl/main/Makefile new file mode 100644 index 000000000..bcd6c6c93 --- /dev/null +++ b/examples/sycl/main/Makefile @@ -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/main//CMakeFiles/progress.marks + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 main/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 main/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 main/preinstall +.PHONY : preinstall + +# Prepare targets for installation. +preinstall/fast: + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 main/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. +main/CMakeFiles/main.dir/rule: + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 main/CMakeFiles/main.dir/rule +.PHONY : main/CMakeFiles/main.dir/rule + +# Convenience name for target. +main: main/CMakeFiles/main.dir/rule +.PHONY : main + +# fast build rule for target. +main/fast: + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f main/CMakeFiles/main.dir/build.make main/CMakeFiles/main.dir/build +.PHONY : main/fast + +# target to build an object file +main.o: + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f main/CMakeFiles/main.dir/build.make main/CMakeFiles/main.dir/main.o +.PHONY : main.o + +# target to preprocess a source file +main.i: + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f main/CMakeFiles/main.dir/build.make main/CMakeFiles/main.dir/main.i +.PHONY : main.i + +# target to generate assembly for a file +main.s: + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f main/CMakeFiles/main.dir/build.make main/CMakeFiles/main.dir/main.s +.PHONY : main.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 "... main" + @echo "... main.o" + @echo "... main.i" + @echo "... main.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 + diff --git a/examples/sycl/main/cmake_install.cmake b/examples/sycl/main/cmake_install.cmake new file mode 100644 index 000000000..dcec227e3 --- /dev/null +++ b/examples/sycl/main/cmake_install.cmake @@ -0,0 +1,60 @@ +# Install script for directory: /home/jianyuzh/ws/llama.cpp/develop/examples/main + +# 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/main" AND + NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/main") + file(RPATH_CHECK + FILE "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/main" + RPATH "") + endif() + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/bin" TYPE EXECUTABLE FILES "/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/main/main") + if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/main" AND + NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/main") + if(CMAKE_INSTALL_DO_STRIP) + execute_process(COMMAND "/usr/bin/strip" "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/main") + endif() + endif() +endif() + diff --git a/examples/sycl/parallel/CMakeFiles/CMakeDirectoryInformation.cmake b/examples/sycl/parallel/CMakeFiles/CMakeDirectoryInformation.cmake new file mode 100644 index 000000000..5c593a473 --- /dev/null +++ b/examples/sycl/parallel/CMakeFiles/CMakeDirectoryInformation.cmake @@ -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}) diff --git a/examples/sycl/parallel/CMakeFiles/parallel.dir/DependInfo.cmake b/examples/sycl/parallel/CMakeFiles/parallel.dir/DependInfo.cmake new file mode 100644 index 000000000..6e1d429f7 --- /dev/null +++ b/examples/sycl/parallel/CMakeFiles/parallel.dir/DependInfo.cmake @@ -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/parallel/parallel.cpp" "parallel/CMakeFiles/parallel.dir/parallel.o" "gcc" "parallel/CMakeFiles/parallel.dir/parallel.o.d" + ) + +# Targets to which this target links. +set(CMAKE_TARGET_LINKED_INFO_FILES + ) + +# Fortran module output directory. +set(CMAKE_Fortran_TARGET_MODULE_DIR "") diff --git a/examples/sycl/parallel/CMakeFiles/parallel.dir/build.make b/examples/sycl/parallel/CMakeFiles/parallel.dir/build.make new file mode 100644 index 000000000..c982dff89 --- /dev/null +++ b/examples/sycl/parallel/CMakeFiles/parallel.dir/build.make @@ -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 parallel/CMakeFiles/parallel.dir/depend.make +# Include any dependencies generated by the compiler for this target. +include parallel/CMakeFiles/parallel.dir/compiler_depend.make + +# Include the progress variables for this target. +include parallel/CMakeFiles/parallel.dir/progress.make + +# Include the compile flags for this target's objects. +include parallel/CMakeFiles/parallel.dir/flags.make + +parallel/CMakeFiles/parallel.dir/parallel.o: parallel/CMakeFiles/parallel.dir/flags.make +parallel/CMakeFiles/parallel.dir/parallel.o: ../parallel/parallel.cpp +parallel/CMakeFiles/parallel.dir/parallel.o: parallel/CMakeFiles/parallel.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 parallel/CMakeFiles/parallel.dir/parallel.o" + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/parallel && /opt/intel/oneapi/compiler/2024.0/bin/icpx $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -MD -MT parallel/CMakeFiles/parallel.dir/parallel.o -MF CMakeFiles/parallel.dir/parallel.o.d -o CMakeFiles/parallel.dir/parallel.o -c /home/jianyuzh/ws/llama.cpp/develop/examples/parallel/parallel.cpp + +parallel/CMakeFiles/parallel.dir/parallel.i: cmake_force + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/parallel.dir/parallel.i" + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/parallel && /opt/intel/oneapi/compiler/2024.0/bin/icpx $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /home/jianyuzh/ws/llama.cpp/develop/examples/parallel/parallel.cpp > CMakeFiles/parallel.dir/parallel.i + +parallel/CMakeFiles/parallel.dir/parallel.s: cmake_force + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/parallel.dir/parallel.s" + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/parallel && /opt/intel/oneapi/compiler/2024.0/bin/icpx $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /home/jianyuzh/ws/llama.cpp/develop/examples/parallel/parallel.cpp -o CMakeFiles/parallel.dir/parallel.s + +# Object files for target parallel +parallel_OBJECTS = \ +"CMakeFiles/parallel.dir/parallel.o" + +# External object files for target parallel +parallel_EXTERNAL_OBJECTS = + +parallel/parallel: parallel/CMakeFiles/parallel.dir/parallel.o +parallel/parallel: parallel/CMakeFiles/parallel.dir/build.make +parallel/parallel: parallel/CMakeFiles/parallel.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 parallel" + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/parallel && $(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/parallel.dir/link.txt --verbose=$(VERBOSE) + +# Rule to build all files generated by this target. +parallel/CMakeFiles/parallel.dir/build: parallel/parallel +.PHONY : parallel/CMakeFiles/parallel.dir/build + +parallel/CMakeFiles/parallel.dir/clean: + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/parallel && $(CMAKE_COMMAND) -P CMakeFiles/parallel.dir/cmake_clean.cmake +.PHONY : parallel/CMakeFiles/parallel.dir/clean + +parallel/CMakeFiles/parallel.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/parallel /home/jianyuzh/ws/llama.cpp/develop/examples/sycl /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/parallel /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/parallel/CMakeFiles/parallel.dir/DependInfo.cmake --color=$(COLOR) +.PHONY : parallel/CMakeFiles/parallel.dir/depend + diff --git a/examples/sycl/parallel/CMakeFiles/parallel.dir/cmake_clean.cmake b/examples/sycl/parallel/CMakeFiles/parallel.dir/cmake_clean.cmake new file mode 100644 index 000000000..88fdf5228 --- /dev/null +++ b/examples/sycl/parallel/CMakeFiles/parallel.dir/cmake_clean.cmake @@ -0,0 +1,11 @@ +file(REMOVE_RECURSE + "CMakeFiles/parallel.dir/parallel.o" + "CMakeFiles/parallel.dir/parallel.o.d" + "parallel" + "parallel.pdb" +) + +# Per-language clean rules from dependency scanning. +foreach(lang CXX) + include(CMakeFiles/parallel.dir/cmake_clean_${lang}.cmake OPTIONAL) +endforeach() diff --git a/examples/sycl/parallel/CMakeFiles/parallel.dir/compiler_depend.make b/examples/sycl/parallel/CMakeFiles/parallel.dir/compiler_depend.make new file mode 100644 index 000000000..4adb5e406 --- /dev/null +++ b/examples/sycl/parallel/CMakeFiles/parallel.dir/compiler_depend.make @@ -0,0 +1,2 @@ +# Empty compiler generated dependencies file for parallel. +# This may be replaced when dependencies are built. diff --git a/examples/sycl/parallel/CMakeFiles/parallel.dir/compiler_depend.ts b/examples/sycl/parallel/CMakeFiles/parallel.dir/compiler_depend.ts new file mode 100644 index 000000000..4fc0c9533 --- /dev/null +++ b/examples/sycl/parallel/CMakeFiles/parallel.dir/compiler_depend.ts @@ -0,0 +1,2 @@ +# CMAKE generated file: DO NOT EDIT! +# Timestamp file for compiler generated dependencies management for parallel. diff --git a/examples/sycl/parallel/CMakeFiles/parallel.dir/depend.make b/examples/sycl/parallel/CMakeFiles/parallel.dir/depend.make new file mode 100644 index 000000000..bb47426af --- /dev/null +++ b/examples/sycl/parallel/CMakeFiles/parallel.dir/depend.make @@ -0,0 +1,2 @@ +# Empty dependencies file for parallel. +# This may be replaced when dependencies are built. diff --git a/examples/sycl/parallel/CMakeFiles/parallel.dir/flags.make b/examples/sycl/parallel/CMakeFiles/parallel.dir/flags.make new file mode 100644 index 000000000..6bddd3d69 --- /dev/null +++ b/examples/sycl/parallel/CMakeFiles/parallel.dir/flags.make @@ -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 = + diff --git a/examples/sycl/parallel/CMakeFiles/parallel.dir/link.txt b/examples/sycl/parallel/CMakeFiles/parallel.dir/link.txt new file mode 100644 index 000000000..d242b5724 --- /dev/null +++ b/examples/sycl/parallel/CMakeFiles/parallel.dir/link.txt @@ -0,0 +1 @@ +/opt/intel/oneapi/compiler/2024.0/bin/icpx -rdynamic CMakeFiles/parallel.dir/parallel.o -o parallel -lcommon -lllama diff --git a/examples/sycl/parallel/CMakeFiles/parallel.dir/progress.make b/examples/sycl/parallel/CMakeFiles/parallel.dir/progress.make new file mode 100644 index 000000000..2178e35f7 --- /dev/null +++ b/examples/sycl/parallel/CMakeFiles/parallel.dir/progress.make @@ -0,0 +1,3 @@ +CMAKE_PROGRESS_1 = 36 +CMAKE_PROGRESS_2 = 37 + diff --git a/examples/sycl/parallel/CMakeFiles/progress.marks b/examples/sycl/parallel/CMakeFiles/progress.marks new file mode 100644 index 000000000..0cfbf0888 --- /dev/null +++ b/examples/sycl/parallel/CMakeFiles/progress.marks @@ -0,0 +1 @@ +2 diff --git a/examples/sycl/parallel/Makefile b/examples/sycl/parallel/Makefile new file mode 100644 index 000000000..06e1de128 --- /dev/null +++ b/examples/sycl/parallel/Makefile @@ -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/parallel//CMakeFiles/progress.marks + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 parallel/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 parallel/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 parallel/preinstall +.PHONY : preinstall + +# Prepare targets for installation. +preinstall/fast: + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 parallel/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. +parallel/CMakeFiles/parallel.dir/rule: + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 parallel/CMakeFiles/parallel.dir/rule +.PHONY : parallel/CMakeFiles/parallel.dir/rule + +# Convenience name for target. +parallel: parallel/CMakeFiles/parallel.dir/rule +.PHONY : parallel + +# fast build rule for target. +parallel/fast: + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f parallel/CMakeFiles/parallel.dir/build.make parallel/CMakeFiles/parallel.dir/build +.PHONY : parallel/fast + +# target to build an object file +parallel.o: + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f parallel/CMakeFiles/parallel.dir/build.make parallel/CMakeFiles/parallel.dir/parallel.o +.PHONY : parallel.o + +# target to preprocess a source file +parallel.i: + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f parallel/CMakeFiles/parallel.dir/build.make parallel/CMakeFiles/parallel.dir/parallel.i +.PHONY : parallel.i + +# target to generate assembly for a file +parallel.s: + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f parallel/CMakeFiles/parallel.dir/build.make parallel/CMakeFiles/parallel.dir/parallel.s +.PHONY : parallel.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 "... parallel" + @echo "... parallel.o" + @echo "... parallel.i" + @echo "... parallel.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 + diff --git a/examples/sycl/parallel/cmake_install.cmake b/examples/sycl/parallel/cmake_install.cmake new file mode 100644 index 000000000..495382e76 --- /dev/null +++ b/examples/sycl/parallel/cmake_install.cmake @@ -0,0 +1,60 @@ +# Install script for directory: /home/jianyuzh/ws/llama.cpp/develop/examples/parallel + +# 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/parallel" AND + NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/parallel") + file(RPATH_CHECK + FILE "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/parallel" + RPATH "") + endif() + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/bin" TYPE EXECUTABLE FILES "/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/parallel/parallel") + if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/parallel" AND + NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/parallel") + if(CMAKE_INSTALL_DO_STRIP) + execute_process(COMMAND "/usr/bin/strip" "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/parallel") + endif() + endif() +endif() + diff --git a/examples/sycl/perplexity/CMakeFiles/CMakeDirectoryInformation.cmake b/examples/sycl/perplexity/CMakeFiles/CMakeDirectoryInformation.cmake new file mode 100644 index 000000000..5c593a473 --- /dev/null +++ b/examples/sycl/perplexity/CMakeFiles/CMakeDirectoryInformation.cmake @@ -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}) diff --git a/examples/sycl/perplexity/CMakeFiles/perplexity.dir/DependInfo.cmake b/examples/sycl/perplexity/CMakeFiles/perplexity.dir/DependInfo.cmake new file mode 100644 index 000000000..66b8b5f1b --- /dev/null +++ b/examples/sycl/perplexity/CMakeFiles/perplexity.dir/DependInfo.cmake @@ -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/perplexity/perplexity.cpp" "perplexity/CMakeFiles/perplexity.dir/perplexity.o" "gcc" "perplexity/CMakeFiles/perplexity.dir/perplexity.o.d" + ) + +# Targets to which this target links. +set(CMAKE_TARGET_LINKED_INFO_FILES + ) + +# Fortran module output directory. +set(CMAKE_Fortran_TARGET_MODULE_DIR "") diff --git a/examples/sycl/perplexity/CMakeFiles/perplexity.dir/build.make b/examples/sycl/perplexity/CMakeFiles/perplexity.dir/build.make new file mode 100644 index 000000000..85b10e61c --- /dev/null +++ b/examples/sycl/perplexity/CMakeFiles/perplexity.dir/build.make @@ -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 perplexity/CMakeFiles/perplexity.dir/depend.make +# Include any dependencies generated by the compiler for this target. +include perplexity/CMakeFiles/perplexity.dir/compiler_depend.make + +# Include the progress variables for this target. +include perplexity/CMakeFiles/perplexity.dir/progress.make + +# Include the compile flags for this target's objects. +include perplexity/CMakeFiles/perplexity.dir/flags.make + +perplexity/CMakeFiles/perplexity.dir/perplexity.o: perplexity/CMakeFiles/perplexity.dir/flags.make +perplexity/CMakeFiles/perplexity.dir/perplexity.o: ../perplexity/perplexity.cpp +perplexity/CMakeFiles/perplexity.dir/perplexity.o: perplexity/CMakeFiles/perplexity.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 perplexity/CMakeFiles/perplexity.dir/perplexity.o" + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/perplexity && /opt/intel/oneapi/compiler/2024.0/bin/icpx $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -MD -MT perplexity/CMakeFiles/perplexity.dir/perplexity.o -MF CMakeFiles/perplexity.dir/perplexity.o.d -o CMakeFiles/perplexity.dir/perplexity.o -c /home/jianyuzh/ws/llama.cpp/develop/examples/perplexity/perplexity.cpp + +perplexity/CMakeFiles/perplexity.dir/perplexity.i: cmake_force + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/perplexity.dir/perplexity.i" + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/perplexity && /opt/intel/oneapi/compiler/2024.0/bin/icpx $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /home/jianyuzh/ws/llama.cpp/develop/examples/perplexity/perplexity.cpp > CMakeFiles/perplexity.dir/perplexity.i + +perplexity/CMakeFiles/perplexity.dir/perplexity.s: cmake_force + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/perplexity.dir/perplexity.s" + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/perplexity && /opt/intel/oneapi/compiler/2024.0/bin/icpx $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /home/jianyuzh/ws/llama.cpp/develop/examples/perplexity/perplexity.cpp -o CMakeFiles/perplexity.dir/perplexity.s + +# Object files for target perplexity +perplexity_OBJECTS = \ +"CMakeFiles/perplexity.dir/perplexity.o" + +# External object files for target perplexity +perplexity_EXTERNAL_OBJECTS = + +perplexity/perplexity: perplexity/CMakeFiles/perplexity.dir/perplexity.o +perplexity/perplexity: perplexity/CMakeFiles/perplexity.dir/build.make +perplexity/perplexity: perplexity/CMakeFiles/perplexity.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 perplexity" + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/perplexity && $(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/perplexity.dir/link.txt --verbose=$(VERBOSE) + +# Rule to build all files generated by this target. +perplexity/CMakeFiles/perplexity.dir/build: perplexity/perplexity +.PHONY : perplexity/CMakeFiles/perplexity.dir/build + +perplexity/CMakeFiles/perplexity.dir/clean: + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/perplexity && $(CMAKE_COMMAND) -P CMakeFiles/perplexity.dir/cmake_clean.cmake +.PHONY : perplexity/CMakeFiles/perplexity.dir/clean + +perplexity/CMakeFiles/perplexity.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/perplexity /home/jianyuzh/ws/llama.cpp/develop/examples/sycl /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/perplexity /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/perplexity/CMakeFiles/perplexity.dir/DependInfo.cmake --color=$(COLOR) +.PHONY : perplexity/CMakeFiles/perplexity.dir/depend + diff --git a/examples/sycl/perplexity/CMakeFiles/perplexity.dir/cmake_clean.cmake b/examples/sycl/perplexity/CMakeFiles/perplexity.dir/cmake_clean.cmake new file mode 100644 index 000000000..b4c2d0a01 --- /dev/null +++ b/examples/sycl/perplexity/CMakeFiles/perplexity.dir/cmake_clean.cmake @@ -0,0 +1,11 @@ +file(REMOVE_RECURSE + "CMakeFiles/perplexity.dir/perplexity.o" + "CMakeFiles/perplexity.dir/perplexity.o.d" + "perplexity" + "perplexity.pdb" +) + +# Per-language clean rules from dependency scanning. +foreach(lang CXX) + include(CMakeFiles/perplexity.dir/cmake_clean_${lang}.cmake OPTIONAL) +endforeach() diff --git a/examples/sycl/perplexity/CMakeFiles/perplexity.dir/compiler_depend.make b/examples/sycl/perplexity/CMakeFiles/perplexity.dir/compiler_depend.make new file mode 100644 index 000000000..5bde1b103 --- /dev/null +++ b/examples/sycl/perplexity/CMakeFiles/perplexity.dir/compiler_depend.make @@ -0,0 +1,2 @@ +# Empty compiler generated dependencies file for perplexity. +# This may be replaced when dependencies are built. diff --git a/examples/sycl/perplexity/CMakeFiles/perplexity.dir/compiler_depend.ts b/examples/sycl/perplexity/CMakeFiles/perplexity.dir/compiler_depend.ts new file mode 100644 index 000000000..5fe121b3b --- /dev/null +++ b/examples/sycl/perplexity/CMakeFiles/perplexity.dir/compiler_depend.ts @@ -0,0 +1,2 @@ +# CMAKE generated file: DO NOT EDIT! +# Timestamp file for compiler generated dependencies management for perplexity. diff --git a/examples/sycl/perplexity/CMakeFiles/perplexity.dir/depend.make b/examples/sycl/perplexity/CMakeFiles/perplexity.dir/depend.make new file mode 100644 index 000000000..405206272 --- /dev/null +++ b/examples/sycl/perplexity/CMakeFiles/perplexity.dir/depend.make @@ -0,0 +1,2 @@ +# Empty dependencies file for perplexity. +# This may be replaced when dependencies are built. diff --git a/examples/sycl/perplexity/CMakeFiles/perplexity.dir/flags.make b/examples/sycl/perplexity/CMakeFiles/perplexity.dir/flags.make new file mode 100644 index 000000000..6bddd3d69 --- /dev/null +++ b/examples/sycl/perplexity/CMakeFiles/perplexity.dir/flags.make @@ -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 = + diff --git a/examples/sycl/perplexity/CMakeFiles/perplexity.dir/link.txt b/examples/sycl/perplexity/CMakeFiles/perplexity.dir/link.txt new file mode 100644 index 000000000..c08ea7dca --- /dev/null +++ b/examples/sycl/perplexity/CMakeFiles/perplexity.dir/link.txt @@ -0,0 +1 @@ +/opt/intel/oneapi/compiler/2024.0/bin/icpx -rdynamic CMakeFiles/perplexity.dir/perplexity.o -o perplexity -lcommon -lllama diff --git a/examples/sycl/perplexity/CMakeFiles/perplexity.dir/progress.make b/examples/sycl/perplexity/CMakeFiles/perplexity.dir/progress.make new file mode 100644 index 000000000..ad2d35745 --- /dev/null +++ b/examples/sycl/perplexity/CMakeFiles/perplexity.dir/progress.make @@ -0,0 +1,3 @@ +CMAKE_PROGRESS_1 = 38 +CMAKE_PROGRESS_2 = 39 + diff --git a/examples/sycl/perplexity/CMakeFiles/progress.marks b/examples/sycl/perplexity/CMakeFiles/progress.marks new file mode 100644 index 000000000..0cfbf0888 --- /dev/null +++ b/examples/sycl/perplexity/CMakeFiles/progress.marks @@ -0,0 +1 @@ +2 diff --git a/examples/sycl/perplexity/Makefile b/examples/sycl/perplexity/Makefile new file mode 100644 index 000000000..0eefcb75e --- /dev/null +++ b/examples/sycl/perplexity/Makefile @@ -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/perplexity//CMakeFiles/progress.marks + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 perplexity/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 perplexity/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 perplexity/preinstall +.PHONY : preinstall + +# Prepare targets for installation. +preinstall/fast: + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 perplexity/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. +perplexity/CMakeFiles/perplexity.dir/rule: + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 perplexity/CMakeFiles/perplexity.dir/rule +.PHONY : perplexity/CMakeFiles/perplexity.dir/rule + +# Convenience name for target. +perplexity: perplexity/CMakeFiles/perplexity.dir/rule +.PHONY : perplexity + +# fast build rule for target. +perplexity/fast: + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f perplexity/CMakeFiles/perplexity.dir/build.make perplexity/CMakeFiles/perplexity.dir/build +.PHONY : perplexity/fast + +# target to build an object file +perplexity.o: + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f perplexity/CMakeFiles/perplexity.dir/build.make perplexity/CMakeFiles/perplexity.dir/perplexity.o +.PHONY : perplexity.o + +# target to preprocess a source file +perplexity.i: + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f perplexity/CMakeFiles/perplexity.dir/build.make perplexity/CMakeFiles/perplexity.dir/perplexity.i +.PHONY : perplexity.i + +# target to generate assembly for a file +perplexity.s: + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f perplexity/CMakeFiles/perplexity.dir/build.make perplexity/CMakeFiles/perplexity.dir/perplexity.s +.PHONY : perplexity.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 "... perplexity" + @echo "... perplexity.o" + @echo "... perplexity.i" + @echo "... perplexity.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 + diff --git a/examples/sycl/perplexity/cmake_install.cmake b/examples/sycl/perplexity/cmake_install.cmake new file mode 100644 index 000000000..7ab46c66f --- /dev/null +++ b/examples/sycl/perplexity/cmake_install.cmake @@ -0,0 +1,60 @@ +# Install script for directory: /home/jianyuzh/ws/llama.cpp/develop/examples/perplexity + +# 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/perplexity" AND + NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/perplexity") + file(RPATH_CHECK + FILE "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/perplexity" + RPATH "") + endif() + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/bin" TYPE EXECUTABLE FILES "/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/perplexity/perplexity") + if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/perplexity" AND + NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/perplexity") + if(CMAKE_INSTALL_DO_STRIP) + execute_process(COMMAND "/usr/bin/strip" "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/perplexity") + endif() + endif() +endif() + diff --git a/examples/sycl/quantize-stats/CMakeFiles/CMakeDirectoryInformation.cmake b/examples/sycl/quantize-stats/CMakeFiles/CMakeDirectoryInformation.cmake new file mode 100644 index 000000000..5c593a473 --- /dev/null +++ b/examples/sycl/quantize-stats/CMakeFiles/CMakeDirectoryInformation.cmake @@ -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}) diff --git a/examples/sycl/quantize-stats/CMakeFiles/progress.marks b/examples/sycl/quantize-stats/CMakeFiles/progress.marks new file mode 100644 index 000000000..0cfbf0888 --- /dev/null +++ b/examples/sycl/quantize-stats/CMakeFiles/progress.marks @@ -0,0 +1 @@ +2 diff --git a/examples/sycl/quantize-stats/CMakeFiles/quantize-stats.dir/DependInfo.cmake b/examples/sycl/quantize-stats/CMakeFiles/quantize-stats.dir/DependInfo.cmake new file mode 100644 index 000000000..2adf5eb27 --- /dev/null +++ b/examples/sycl/quantize-stats/CMakeFiles/quantize-stats.dir/DependInfo.cmake @@ -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/quantize-stats/quantize-stats.cpp" "quantize-stats/CMakeFiles/quantize-stats.dir/quantize-stats.o" "gcc" "quantize-stats/CMakeFiles/quantize-stats.dir/quantize-stats.o.d" + ) + +# Targets to which this target links. +set(CMAKE_TARGET_LINKED_INFO_FILES + ) + +# Fortran module output directory. +set(CMAKE_Fortran_TARGET_MODULE_DIR "") diff --git a/examples/sycl/quantize-stats/CMakeFiles/quantize-stats.dir/build.make b/examples/sycl/quantize-stats/CMakeFiles/quantize-stats.dir/build.make new file mode 100644 index 000000000..b0f7750b2 --- /dev/null +++ b/examples/sycl/quantize-stats/CMakeFiles/quantize-stats.dir/build.make @@ -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 quantize-stats/CMakeFiles/quantize-stats.dir/depend.make +# Include any dependencies generated by the compiler for this target. +include quantize-stats/CMakeFiles/quantize-stats.dir/compiler_depend.make + +# Include the progress variables for this target. +include quantize-stats/CMakeFiles/quantize-stats.dir/progress.make + +# Include the compile flags for this target's objects. +include quantize-stats/CMakeFiles/quantize-stats.dir/flags.make + +quantize-stats/CMakeFiles/quantize-stats.dir/quantize-stats.o: quantize-stats/CMakeFiles/quantize-stats.dir/flags.make +quantize-stats/CMakeFiles/quantize-stats.dir/quantize-stats.o: ../quantize-stats/quantize-stats.cpp +quantize-stats/CMakeFiles/quantize-stats.dir/quantize-stats.o: quantize-stats/CMakeFiles/quantize-stats.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 quantize-stats/CMakeFiles/quantize-stats.dir/quantize-stats.o" + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/quantize-stats && /opt/intel/oneapi/compiler/2024.0/bin/icpx $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -MD -MT quantize-stats/CMakeFiles/quantize-stats.dir/quantize-stats.o -MF CMakeFiles/quantize-stats.dir/quantize-stats.o.d -o CMakeFiles/quantize-stats.dir/quantize-stats.o -c /home/jianyuzh/ws/llama.cpp/develop/examples/quantize-stats/quantize-stats.cpp + +quantize-stats/CMakeFiles/quantize-stats.dir/quantize-stats.i: cmake_force + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/quantize-stats.dir/quantize-stats.i" + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/quantize-stats && /opt/intel/oneapi/compiler/2024.0/bin/icpx $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /home/jianyuzh/ws/llama.cpp/develop/examples/quantize-stats/quantize-stats.cpp > CMakeFiles/quantize-stats.dir/quantize-stats.i + +quantize-stats/CMakeFiles/quantize-stats.dir/quantize-stats.s: cmake_force + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/quantize-stats.dir/quantize-stats.s" + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/quantize-stats && /opt/intel/oneapi/compiler/2024.0/bin/icpx $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /home/jianyuzh/ws/llama.cpp/develop/examples/quantize-stats/quantize-stats.cpp -o CMakeFiles/quantize-stats.dir/quantize-stats.s + +# Object files for target quantize-stats +quantize__stats_OBJECTS = \ +"CMakeFiles/quantize-stats.dir/quantize-stats.o" + +# External object files for target quantize-stats +quantize__stats_EXTERNAL_OBJECTS = + +quantize-stats/quantize-stats: quantize-stats/CMakeFiles/quantize-stats.dir/quantize-stats.o +quantize-stats/quantize-stats: quantize-stats/CMakeFiles/quantize-stats.dir/build.make +quantize-stats/quantize-stats: quantize-stats/CMakeFiles/quantize-stats.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 quantize-stats" + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/quantize-stats && $(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/quantize-stats.dir/link.txt --verbose=$(VERBOSE) + +# Rule to build all files generated by this target. +quantize-stats/CMakeFiles/quantize-stats.dir/build: quantize-stats/quantize-stats +.PHONY : quantize-stats/CMakeFiles/quantize-stats.dir/build + +quantize-stats/CMakeFiles/quantize-stats.dir/clean: + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/quantize-stats && $(CMAKE_COMMAND) -P CMakeFiles/quantize-stats.dir/cmake_clean.cmake +.PHONY : quantize-stats/CMakeFiles/quantize-stats.dir/clean + +quantize-stats/CMakeFiles/quantize-stats.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/quantize-stats /home/jianyuzh/ws/llama.cpp/develop/examples/sycl /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/quantize-stats /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/quantize-stats/CMakeFiles/quantize-stats.dir/DependInfo.cmake --color=$(COLOR) +.PHONY : quantize-stats/CMakeFiles/quantize-stats.dir/depend + diff --git a/examples/sycl/quantize-stats/CMakeFiles/quantize-stats.dir/cmake_clean.cmake b/examples/sycl/quantize-stats/CMakeFiles/quantize-stats.dir/cmake_clean.cmake new file mode 100644 index 000000000..3561c9f78 --- /dev/null +++ b/examples/sycl/quantize-stats/CMakeFiles/quantize-stats.dir/cmake_clean.cmake @@ -0,0 +1,11 @@ +file(REMOVE_RECURSE + "CMakeFiles/quantize-stats.dir/quantize-stats.o" + "CMakeFiles/quantize-stats.dir/quantize-stats.o.d" + "quantize-stats" + "quantize-stats.pdb" +) + +# Per-language clean rules from dependency scanning. +foreach(lang CXX) + include(CMakeFiles/quantize-stats.dir/cmake_clean_${lang}.cmake OPTIONAL) +endforeach() diff --git a/examples/sycl/quantize-stats/CMakeFiles/quantize-stats.dir/compiler_depend.make b/examples/sycl/quantize-stats/CMakeFiles/quantize-stats.dir/compiler_depend.make new file mode 100644 index 000000000..9dc6febae --- /dev/null +++ b/examples/sycl/quantize-stats/CMakeFiles/quantize-stats.dir/compiler_depend.make @@ -0,0 +1,2 @@ +# Empty compiler generated dependencies file for quantize-stats. +# This may be replaced when dependencies are built. diff --git a/examples/sycl/quantize-stats/CMakeFiles/quantize-stats.dir/compiler_depend.ts b/examples/sycl/quantize-stats/CMakeFiles/quantize-stats.dir/compiler_depend.ts new file mode 100644 index 000000000..651269eca --- /dev/null +++ b/examples/sycl/quantize-stats/CMakeFiles/quantize-stats.dir/compiler_depend.ts @@ -0,0 +1,2 @@ +# CMAKE generated file: DO NOT EDIT! +# Timestamp file for compiler generated dependencies management for quantize-stats. diff --git a/examples/sycl/quantize-stats/CMakeFiles/quantize-stats.dir/depend.make b/examples/sycl/quantize-stats/CMakeFiles/quantize-stats.dir/depend.make new file mode 100644 index 000000000..107cbdfe9 --- /dev/null +++ b/examples/sycl/quantize-stats/CMakeFiles/quantize-stats.dir/depend.make @@ -0,0 +1,2 @@ +# Empty dependencies file for quantize-stats. +# This may be replaced when dependencies are built. diff --git a/examples/sycl/quantize-stats/CMakeFiles/quantize-stats.dir/flags.make b/examples/sycl/quantize-stats/CMakeFiles/quantize-stats.dir/flags.make new file mode 100644 index 000000000..94ae3d85e --- /dev/null +++ b/examples/sycl/quantize-stats/CMakeFiles/quantize-stats.dir/flags.make @@ -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/quantize-stats/../../common + +CXX_FLAGS = + diff --git a/examples/sycl/quantize-stats/CMakeFiles/quantize-stats.dir/link.txt b/examples/sycl/quantize-stats/CMakeFiles/quantize-stats.dir/link.txt new file mode 100644 index 000000000..fc2253c85 --- /dev/null +++ b/examples/sycl/quantize-stats/CMakeFiles/quantize-stats.dir/link.txt @@ -0,0 +1 @@ +/opt/intel/oneapi/compiler/2024.0/bin/icpx -rdynamic CMakeFiles/quantize-stats.dir/quantize-stats.o -o quantize-stats -lllama -lbuild_info diff --git a/examples/sycl/quantize-stats/CMakeFiles/quantize-stats.dir/progress.make b/examples/sycl/quantize-stats/CMakeFiles/quantize-stats.dir/progress.make new file mode 100644 index 000000000..0ae216536 --- /dev/null +++ b/examples/sycl/quantize-stats/CMakeFiles/quantize-stats.dir/progress.make @@ -0,0 +1,3 @@ +CMAKE_PROGRESS_1 = 42 +CMAKE_PROGRESS_2 = 43 + diff --git a/examples/sycl/quantize-stats/Makefile b/examples/sycl/quantize-stats/Makefile new file mode 100644 index 000000000..96034d833 --- /dev/null +++ b/examples/sycl/quantize-stats/Makefile @@ -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/quantize-stats//CMakeFiles/progress.marks + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 quantize-stats/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 quantize-stats/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 quantize-stats/preinstall +.PHONY : preinstall + +# Prepare targets for installation. +preinstall/fast: + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 quantize-stats/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. +quantize-stats/CMakeFiles/quantize-stats.dir/rule: + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 quantize-stats/CMakeFiles/quantize-stats.dir/rule +.PHONY : quantize-stats/CMakeFiles/quantize-stats.dir/rule + +# Convenience name for target. +quantize-stats: quantize-stats/CMakeFiles/quantize-stats.dir/rule +.PHONY : quantize-stats + +# fast build rule for target. +quantize-stats/fast: + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f quantize-stats/CMakeFiles/quantize-stats.dir/build.make quantize-stats/CMakeFiles/quantize-stats.dir/build +.PHONY : quantize-stats/fast + +# target to build an object file +quantize-stats.o: + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f quantize-stats/CMakeFiles/quantize-stats.dir/build.make quantize-stats/CMakeFiles/quantize-stats.dir/quantize-stats.o +.PHONY : quantize-stats.o + +# target to preprocess a source file +quantize-stats.i: + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f quantize-stats/CMakeFiles/quantize-stats.dir/build.make quantize-stats/CMakeFiles/quantize-stats.dir/quantize-stats.i +.PHONY : quantize-stats.i + +# target to generate assembly for a file +quantize-stats.s: + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f quantize-stats/CMakeFiles/quantize-stats.dir/build.make quantize-stats/CMakeFiles/quantize-stats.dir/quantize-stats.s +.PHONY : quantize-stats.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 "... quantize-stats" + @echo "... quantize-stats.o" + @echo "... quantize-stats.i" + @echo "... quantize-stats.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 + diff --git a/examples/sycl/quantize-stats/cmake_install.cmake b/examples/sycl/quantize-stats/cmake_install.cmake new file mode 100644 index 000000000..0be2f85c9 --- /dev/null +++ b/examples/sycl/quantize-stats/cmake_install.cmake @@ -0,0 +1,60 @@ +# Install script for directory: /home/jianyuzh/ws/llama.cpp/develop/examples/quantize-stats + +# 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/quantize-stats" AND + NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/quantize-stats") + file(RPATH_CHECK + FILE "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/quantize-stats" + RPATH "") + endif() + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/bin" TYPE EXECUTABLE FILES "/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/quantize-stats/quantize-stats") + if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/quantize-stats" AND + NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/quantize-stats") + if(CMAKE_INSTALL_DO_STRIP) + execute_process(COMMAND "/usr/bin/strip" "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/quantize-stats") + endif() + endif() +endif() + diff --git a/examples/sycl/quantize/CMakeFiles/CMakeDirectoryInformation.cmake b/examples/sycl/quantize/CMakeFiles/CMakeDirectoryInformation.cmake new file mode 100644 index 000000000..5c593a473 --- /dev/null +++ b/examples/sycl/quantize/CMakeFiles/CMakeDirectoryInformation.cmake @@ -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}) diff --git a/examples/sycl/quantize/CMakeFiles/progress.marks b/examples/sycl/quantize/CMakeFiles/progress.marks new file mode 100644 index 000000000..0cfbf0888 --- /dev/null +++ b/examples/sycl/quantize/CMakeFiles/progress.marks @@ -0,0 +1 @@ +2 diff --git a/examples/sycl/quantize/CMakeFiles/quantize.dir/DependInfo.cmake b/examples/sycl/quantize/CMakeFiles/quantize.dir/DependInfo.cmake new file mode 100644 index 000000000..f61118e2c --- /dev/null +++ b/examples/sycl/quantize/CMakeFiles/quantize.dir/DependInfo.cmake @@ -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/quantize/quantize.cpp" "quantize/CMakeFiles/quantize.dir/quantize.o" "gcc" "quantize/CMakeFiles/quantize.dir/quantize.o.d" + ) + +# Targets to which this target links. +set(CMAKE_TARGET_LINKED_INFO_FILES + ) + +# Fortran module output directory. +set(CMAKE_Fortran_TARGET_MODULE_DIR "") diff --git a/examples/sycl/quantize/CMakeFiles/quantize.dir/build.make b/examples/sycl/quantize/CMakeFiles/quantize.dir/build.make new file mode 100644 index 000000000..bdc0585c1 --- /dev/null +++ b/examples/sycl/quantize/CMakeFiles/quantize.dir/build.make @@ -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 quantize/CMakeFiles/quantize.dir/depend.make +# Include any dependencies generated by the compiler for this target. +include quantize/CMakeFiles/quantize.dir/compiler_depend.make + +# Include the progress variables for this target. +include quantize/CMakeFiles/quantize.dir/progress.make + +# Include the compile flags for this target's objects. +include quantize/CMakeFiles/quantize.dir/flags.make + +quantize/CMakeFiles/quantize.dir/quantize.o: quantize/CMakeFiles/quantize.dir/flags.make +quantize/CMakeFiles/quantize.dir/quantize.o: ../quantize/quantize.cpp +quantize/CMakeFiles/quantize.dir/quantize.o: quantize/CMakeFiles/quantize.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 quantize/CMakeFiles/quantize.dir/quantize.o" + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/quantize && /opt/intel/oneapi/compiler/2024.0/bin/icpx $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -MD -MT quantize/CMakeFiles/quantize.dir/quantize.o -MF CMakeFiles/quantize.dir/quantize.o.d -o CMakeFiles/quantize.dir/quantize.o -c /home/jianyuzh/ws/llama.cpp/develop/examples/quantize/quantize.cpp + +quantize/CMakeFiles/quantize.dir/quantize.i: cmake_force + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/quantize.dir/quantize.i" + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/quantize && /opt/intel/oneapi/compiler/2024.0/bin/icpx $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /home/jianyuzh/ws/llama.cpp/develop/examples/quantize/quantize.cpp > CMakeFiles/quantize.dir/quantize.i + +quantize/CMakeFiles/quantize.dir/quantize.s: cmake_force + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/quantize.dir/quantize.s" + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/quantize && /opt/intel/oneapi/compiler/2024.0/bin/icpx $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /home/jianyuzh/ws/llama.cpp/develop/examples/quantize/quantize.cpp -o CMakeFiles/quantize.dir/quantize.s + +# Object files for target quantize +quantize_OBJECTS = \ +"CMakeFiles/quantize.dir/quantize.o" + +# External object files for target quantize +quantize_EXTERNAL_OBJECTS = + +quantize/quantize: quantize/CMakeFiles/quantize.dir/quantize.o +quantize/quantize: quantize/CMakeFiles/quantize.dir/build.make +quantize/quantize: quantize/CMakeFiles/quantize.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 quantize" + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/quantize && $(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/quantize.dir/link.txt --verbose=$(VERBOSE) + +# Rule to build all files generated by this target. +quantize/CMakeFiles/quantize.dir/build: quantize/quantize +.PHONY : quantize/CMakeFiles/quantize.dir/build + +quantize/CMakeFiles/quantize.dir/clean: + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/quantize && $(CMAKE_COMMAND) -P CMakeFiles/quantize.dir/cmake_clean.cmake +.PHONY : quantize/CMakeFiles/quantize.dir/clean + +quantize/CMakeFiles/quantize.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/quantize /home/jianyuzh/ws/llama.cpp/develop/examples/sycl /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/quantize /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/quantize/CMakeFiles/quantize.dir/DependInfo.cmake --color=$(COLOR) +.PHONY : quantize/CMakeFiles/quantize.dir/depend + diff --git a/examples/sycl/quantize/CMakeFiles/quantize.dir/cmake_clean.cmake b/examples/sycl/quantize/CMakeFiles/quantize.dir/cmake_clean.cmake new file mode 100644 index 000000000..c1f5c99ba --- /dev/null +++ b/examples/sycl/quantize/CMakeFiles/quantize.dir/cmake_clean.cmake @@ -0,0 +1,11 @@ +file(REMOVE_RECURSE + "CMakeFiles/quantize.dir/quantize.o" + "CMakeFiles/quantize.dir/quantize.o.d" + "quantize" + "quantize.pdb" +) + +# Per-language clean rules from dependency scanning. +foreach(lang CXX) + include(CMakeFiles/quantize.dir/cmake_clean_${lang}.cmake OPTIONAL) +endforeach() diff --git a/examples/sycl/quantize/CMakeFiles/quantize.dir/compiler_depend.make b/examples/sycl/quantize/CMakeFiles/quantize.dir/compiler_depend.make new file mode 100644 index 000000000..7c3c9a8f5 --- /dev/null +++ b/examples/sycl/quantize/CMakeFiles/quantize.dir/compiler_depend.make @@ -0,0 +1,2 @@ +# Empty compiler generated dependencies file for quantize. +# This may be replaced when dependencies are built. diff --git a/examples/sycl/quantize/CMakeFiles/quantize.dir/compiler_depend.ts b/examples/sycl/quantize/CMakeFiles/quantize.dir/compiler_depend.ts new file mode 100644 index 000000000..47e3bfba7 --- /dev/null +++ b/examples/sycl/quantize/CMakeFiles/quantize.dir/compiler_depend.ts @@ -0,0 +1,2 @@ +# CMAKE generated file: DO NOT EDIT! +# Timestamp file for compiler generated dependencies management for quantize. diff --git a/examples/sycl/quantize/CMakeFiles/quantize.dir/depend.make b/examples/sycl/quantize/CMakeFiles/quantize.dir/depend.make new file mode 100644 index 000000000..7ce880b4e --- /dev/null +++ b/examples/sycl/quantize/CMakeFiles/quantize.dir/depend.make @@ -0,0 +1,2 @@ +# Empty dependencies file for quantize. +# This may be replaced when dependencies are built. diff --git a/examples/sycl/quantize/CMakeFiles/quantize.dir/flags.make b/examples/sycl/quantize/CMakeFiles/quantize.dir/flags.make new file mode 100644 index 000000000..e2c15ffdd --- /dev/null +++ b/examples/sycl/quantize/CMakeFiles/quantize.dir/flags.make @@ -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/quantize/../../common + +CXX_FLAGS = + diff --git a/examples/sycl/quantize/CMakeFiles/quantize.dir/link.txt b/examples/sycl/quantize/CMakeFiles/quantize.dir/link.txt new file mode 100644 index 000000000..bbe5e4877 --- /dev/null +++ b/examples/sycl/quantize/CMakeFiles/quantize.dir/link.txt @@ -0,0 +1 @@ +/opt/intel/oneapi/compiler/2024.0/bin/icpx -rdynamic CMakeFiles/quantize.dir/quantize.o -o quantize -lllama -lbuild_info diff --git a/examples/sycl/quantize/CMakeFiles/quantize.dir/progress.make b/examples/sycl/quantize/CMakeFiles/quantize.dir/progress.make new file mode 100644 index 000000000..eb247b083 --- /dev/null +++ b/examples/sycl/quantize/CMakeFiles/quantize.dir/progress.make @@ -0,0 +1,3 @@ +CMAKE_PROGRESS_1 = 40 +CMAKE_PROGRESS_2 = 41 + diff --git a/examples/sycl/quantize/Makefile b/examples/sycl/quantize/Makefile new file mode 100644 index 000000000..d2ba6116c --- /dev/null +++ b/examples/sycl/quantize/Makefile @@ -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/quantize//CMakeFiles/progress.marks + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 quantize/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 quantize/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 quantize/preinstall +.PHONY : preinstall + +# Prepare targets for installation. +preinstall/fast: + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 quantize/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. +quantize/CMakeFiles/quantize.dir/rule: + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 quantize/CMakeFiles/quantize.dir/rule +.PHONY : quantize/CMakeFiles/quantize.dir/rule + +# Convenience name for target. +quantize: quantize/CMakeFiles/quantize.dir/rule +.PHONY : quantize + +# fast build rule for target. +quantize/fast: + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f quantize/CMakeFiles/quantize.dir/build.make quantize/CMakeFiles/quantize.dir/build +.PHONY : quantize/fast + +# target to build an object file +quantize.o: + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f quantize/CMakeFiles/quantize.dir/build.make quantize/CMakeFiles/quantize.dir/quantize.o +.PHONY : quantize.o + +# target to preprocess a source file +quantize.i: + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f quantize/CMakeFiles/quantize.dir/build.make quantize/CMakeFiles/quantize.dir/quantize.i +.PHONY : quantize.i + +# target to generate assembly for a file +quantize.s: + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f quantize/CMakeFiles/quantize.dir/build.make quantize/CMakeFiles/quantize.dir/quantize.s +.PHONY : quantize.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 "... quantize" + @echo "... quantize.o" + @echo "... quantize.i" + @echo "... quantize.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 + diff --git a/examples/sycl/quantize/cmake_install.cmake b/examples/sycl/quantize/cmake_install.cmake new file mode 100644 index 000000000..b809c4e4a --- /dev/null +++ b/examples/sycl/quantize/cmake_install.cmake @@ -0,0 +1,60 @@ +# Install script for directory: /home/jianyuzh/ws/llama.cpp/develop/examples/quantize + +# 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/quantize" AND + NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/quantize") + file(RPATH_CHECK + FILE "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/quantize" + RPATH "") + endif() + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/bin" TYPE EXECUTABLE FILES "/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/quantize/quantize") + if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/quantize" AND + NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/quantize") + if(CMAKE_INSTALL_DO_STRIP) + execute_process(COMMAND "/usr/bin/strip" "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/quantize") + endif() + endif() +endif() + diff --git a/examples/sycl/save-load-state/CMakeFiles/CMakeDirectoryInformation.cmake b/examples/sycl/save-load-state/CMakeFiles/CMakeDirectoryInformation.cmake new file mode 100644 index 000000000..5c593a473 --- /dev/null +++ b/examples/sycl/save-load-state/CMakeFiles/CMakeDirectoryInformation.cmake @@ -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}) diff --git a/examples/sycl/save-load-state/CMakeFiles/progress.marks b/examples/sycl/save-load-state/CMakeFiles/progress.marks new file mode 100644 index 000000000..0cfbf0888 --- /dev/null +++ b/examples/sycl/save-load-state/CMakeFiles/progress.marks @@ -0,0 +1 @@ +2 diff --git a/examples/sycl/save-load-state/CMakeFiles/save-load-state.dir/DependInfo.cmake b/examples/sycl/save-load-state/CMakeFiles/save-load-state.dir/DependInfo.cmake new file mode 100644 index 000000000..9fc824e9a --- /dev/null +++ b/examples/sycl/save-load-state/CMakeFiles/save-load-state.dir/DependInfo.cmake @@ -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/save-load-state/save-load-state.cpp" "save-load-state/CMakeFiles/save-load-state.dir/save-load-state.o" "gcc" "save-load-state/CMakeFiles/save-load-state.dir/save-load-state.o.d" + ) + +# Targets to which this target links. +set(CMAKE_TARGET_LINKED_INFO_FILES + ) + +# Fortran module output directory. +set(CMAKE_Fortran_TARGET_MODULE_DIR "") diff --git a/examples/sycl/save-load-state/CMakeFiles/save-load-state.dir/build.make b/examples/sycl/save-load-state/CMakeFiles/save-load-state.dir/build.make new file mode 100644 index 000000000..ac2b2a260 --- /dev/null +++ b/examples/sycl/save-load-state/CMakeFiles/save-load-state.dir/build.make @@ -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 save-load-state/CMakeFiles/save-load-state.dir/depend.make +# Include any dependencies generated by the compiler for this target. +include save-load-state/CMakeFiles/save-load-state.dir/compiler_depend.make + +# Include the progress variables for this target. +include save-load-state/CMakeFiles/save-load-state.dir/progress.make + +# Include the compile flags for this target's objects. +include save-load-state/CMakeFiles/save-load-state.dir/flags.make + +save-load-state/CMakeFiles/save-load-state.dir/save-load-state.o: save-load-state/CMakeFiles/save-load-state.dir/flags.make +save-load-state/CMakeFiles/save-load-state.dir/save-load-state.o: ../save-load-state/save-load-state.cpp +save-load-state/CMakeFiles/save-load-state.dir/save-load-state.o: save-load-state/CMakeFiles/save-load-state.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 save-load-state/CMakeFiles/save-load-state.dir/save-load-state.o" + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/save-load-state && /opt/intel/oneapi/compiler/2024.0/bin/icpx $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -MD -MT save-load-state/CMakeFiles/save-load-state.dir/save-load-state.o -MF CMakeFiles/save-load-state.dir/save-load-state.o.d -o CMakeFiles/save-load-state.dir/save-load-state.o -c /home/jianyuzh/ws/llama.cpp/develop/examples/save-load-state/save-load-state.cpp + +save-load-state/CMakeFiles/save-load-state.dir/save-load-state.i: cmake_force + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/save-load-state.dir/save-load-state.i" + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/save-load-state && /opt/intel/oneapi/compiler/2024.0/bin/icpx $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /home/jianyuzh/ws/llama.cpp/develop/examples/save-load-state/save-load-state.cpp > CMakeFiles/save-load-state.dir/save-load-state.i + +save-load-state/CMakeFiles/save-load-state.dir/save-load-state.s: cmake_force + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/save-load-state.dir/save-load-state.s" + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/save-load-state && /opt/intel/oneapi/compiler/2024.0/bin/icpx $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /home/jianyuzh/ws/llama.cpp/develop/examples/save-load-state/save-load-state.cpp -o CMakeFiles/save-load-state.dir/save-load-state.s + +# Object files for target save-load-state +save__load__state_OBJECTS = \ +"CMakeFiles/save-load-state.dir/save-load-state.o" + +# External object files for target save-load-state +save__load__state_EXTERNAL_OBJECTS = + +save-load-state/save-load-state: save-load-state/CMakeFiles/save-load-state.dir/save-load-state.o +save-load-state/save-load-state: save-load-state/CMakeFiles/save-load-state.dir/build.make +save-load-state/save-load-state: save-load-state/CMakeFiles/save-load-state.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 save-load-state" + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/save-load-state && $(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/save-load-state.dir/link.txt --verbose=$(VERBOSE) + +# Rule to build all files generated by this target. +save-load-state/CMakeFiles/save-load-state.dir/build: save-load-state/save-load-state +.PHONY : save-load-state/CMakeFiles/save-load-state.dir/build + +save-load-state/CMakeFiles/save-load-state.dir/clean: + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/save-load-state && $(CMAKE_COMMAND) -P CMakeFiles/save-load-state.dir/cmake_clean.cmake +.PHONY : save-load-state/CMakeFiles/save-load-state.dir/clean + +save-load-state/CMakeFiles/save-load-state.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/save-load-state /home/jianyuzh/ws/llama.cpp/develop/examples/sycl /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/save-load-state /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/save-load-state/CMakeFiles/save-load-state.dir/DependInfo.cmake --color=$(COLOR) +.PHONY : save-load-state/CMakeFiles/save-load-state.dir/depend + diff --git a/examples/sycl/save-load-state/CMakeFiles/save-load-state.dir/cmake_clean.cmake b/examples/sycl/save-load-state/CMakeFiles/save-load-state.dir/cmake_clean.cmake new file mode 100644 index 000000000..af5b89fcb --- /dev/null +++ b/examples/sycl/save-load-state/CMakeFiles/save-load-state.dir/cmake_clean.cmake @@ -0,0 +1,11 @@ +file(REMOVE_RECURSE + "CMakeFiles/save-load-state.dir/save-load-state.o" + "CMakeFiles/save-load-state.dir/save-load-state.o.d" + "save-load-state" + "save-load-state.pdb" +) + +# Per-language clean rules from dependency scanning. +foreach(lang CXX) + include(CMakeFiles/save-load-state.dir/cmake_clean_${lang}.cmake OPTIONAL) +endforeach() diff --git a/examples/sycl/save-load-state/CMakeFiles/save-load-state.dir/compiler_depend.make b/examples/sycl/save-load-state/CMakeFiles/save-load-state.dir/compiler_depend.make new file mode 100644 index 000000000..a4577943f --- /dev/null +++ b/examples/sycl/save-load-state/CMakeFiles/save-load-state.dir/compiler_depend.make @@ -0,0 +1,2 @@ +# Empty compiler generated dependencies file for save-load-state. +# This may be replaced when dependencies are built. diff --git a/examples/sycl/save-load-state/CMakeFiles/save-load-state.dir/compiler_depend.ts b/examples/sycl/save-load-state/CMakeFiles/save-load-state.dir/compiler_depend.ts new file mode 100644 index 000000000..64d7612a4 --- /dev/null +++ b/examples/sycl/save-load-state/CMakeFiles/save-load-state.dir/compiler_depend.ts @@ -0,0 +1,2 @@ +# CMAKE generated file: DO NOT EDIT! +# Timestamp file for compiler generated dependencies management for save-load-state. diff --git a/examples/sycl/save-load-state/CMakeFiles/save-load-state.dir/depend.make b/examples/sycl/save-load-state/CMakeFiles/save-load-state.dir/depend.make new file mode 100644 index 000000000..f99caaf71 --- /dev/null +++ b/examples/sycl/save-load-state/CMakeFiles/save-load-state.dir/depend.make @@ -0,0 +1,2 @@ +# Empty dependencies file for save-load-state. +# This may be replaced when dependencies are built. diff --git a/examples/sycl/save-load-state/CMakeFiles/save-load-state.dir/flags.make b/examples/sycl/save-load-state/CMakeFiles/save-load-state.dir/flags.make new file mode 100644 index 000000000..6bddd3d69 --- /dev/null +++ b/examples/sycl/save-load-state/CMakeFiles/save-load-state.dir/flags.make @@ -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 = + diff --git a/examples/sycl/save-load-state/CMakeFiles/save-load-state.dir/link.txt b/examples/sycl/save-load-state/CMakeFiles/save-load-state.dir/link.txt new file mode 100644 index 000000000..b1324b558 --- /dev/null +++ b/examples/sycl/save-load-state/CMakeFiles/save-load-state.dir/link.txt @@ -0,0 +1 @@ +/opt/intel/oneapi/compiler/2024.0/bin/icpx -rdynamic CMakeFiles/save-load-state.dir/save-load-state.o -o save-load-state -lcommon -lllama diff --git a/examples/sycl/save-load-state/CMakeFiles/save-load-state.dir/progress.make b/examples/sycl/save-load-state/CMakeFiles/save-load-state.dir/progress.make new file mode 100644 index 000000000..c51eef3db --- /dev/null +++ b/examples/sycl/save-load-state/CMakeFiles/save-load-state.dir/progress.make @@ -0,0 +1,3 @@ +CMAKE_PROGRESS_1 = 44 +CMAKE_PROGRESS_2 = 45 + diff --git a/examples/sycl/save-load-state/Makefile b/examples/sycl/save-load-state/Makefile new file mode 100644 index 000000000..c9509ab5c --- /dev/null +++ b/examples/sycl/save-load-state/Makefile @@ -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/save-load-state//CMakeFiles/progress.marks + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 save-load-state/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 save-load-state/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 save-load-state/preinstall +.PHONY : preinstall + +# Prepare targets for installation. +preinstall/fast: + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 save-load-state/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. +save-load-state/CMakeFiles/save-load-state.dir/rule: + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 save-load-state/CMakeFiles/save-load-state.dir/rule +.PHONY : save-load-state/CMakeFiles/save-load-state.dir/rule + +# Convenience name for target. +save-load-state: save-load-state/CMakeFiles/save-load-state.dir/rule +.PHONY : save-load-state + +# fast build rule for target. +save-load-state/fast: + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(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 to build an object file +save-load-state.o: + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f save-load-state/CMakeFiles/save-load-state.dir/build.make save-load-state/CMakeFiles/save-load-state.dir/save-load-state.o +.PHONY : save-load-state.o + +# target to preprocess a source file +save-load-state.i: + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f save-load-state/CMakeFiles/save-load-state.dir/build.make save-load-state/CMakeFiles/save-load-state.dir/save-load-state.i +.PHONY : save-load-state.i + +# target to generate assembly for a file +save-load-state.s: + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f save-load-state/CMakeFiles/save-load-state.dir/build.make save-load-state/CMakeFiles/save-load-state.dir/save-load-state.s +.PHONY : save-load-state.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 "... save-load-state" + @echo "... save-load-state.o" + @echo "... save-load-state.i" + @echo "... save-load-state.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 + diff --git a/examples/sycl/save-load-state/cmake_install.cmake b/examples/sycl/save-load-state/cmake_install.cmake new file mode 100644 index 000000000..6fa691a41 --- /dev/null +++ b/examples/sycl/save-load-state/cmake_install.cmake @@ -0,0 +1,60 @@ +# Install script for directory: /home/jianyuzh/ws/llama.cpp/develop/examples/save-load-state + +# 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/save-load-state" AND + NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/save-load-state") + file(RPATH_CHECK + FILE "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/save-load-state" + RPATH "") + endif() + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/bin" TYPE EXECUTABLE FILES "/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/save-load-state/save-load-state") + if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/save-load-state" AND + NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/save-load-state") + if(CMAKE_INSTALL_DO_STRIP) + execute_process(COMMAND "/usr/bin/strip" "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/save-load-state") + endif() + endif() +endif() + diff --git a/examples/sycl/simple/CMakeFiles/CMakeDirectoryInformation.cmake b/examples/sycl/simple/CMakeFiles/CMakeDirectoryInformation.cmake new file mode 100644 index 000000000..5c593a473 --- /dev/null +++ b/examples/sycl/simple/CMakeFiles/CMakeDirectoryInformation.cmake @@ -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}) diff --git a/examples/sycl/simple/CMakeFiles/progress.marks b/examples/sycl/simple/CMakeFiles/progress.marks new file mode 100644 index 000000000..0cfbf0888 --- /dev/null +++ b/examples/sycl/simple/CMakeFiles/progress.marks @@ -0,0 +1 @@ +2 diff --git a/examples/sycl/simple/CMakeFiles/simple.dir/DependInfo.cmake b/examples/sycl/simple/CMakeFiles/simple.dir/DependInfo.cmake new file mode 100644 index 000000000..9d85da155 --- /dev/null +++ b/examples/sycl/simple/CMakeFiles/simple.dir/DependInfo.cmake @@ -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/simple/simple.cpp" "simple/CMakeFiles/simple.dir/simple.o" "gcc" "simple/CMakeFiles/simple.dir/simple.o.d" + ) + +# Targets to which this target links. +set(CMAKE_TARGET_LINKED_INFO_FILES + ) + +# Fortran module output directory. +set(CMAKE_Fortran_TARGET_MODULE_DIR "") diff --git a/examples/sycl/simple/CMakeFiles/simple.dir/build.make b/examples/sycl/simple/CMakeFiles/simple.dir/build.make new file mode 100644 index 000000000..a6aa4f633 --- /dev/null +++ b/examples/sycl/simple/CMakeFiles/simple.dir/build.make @@ -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 simple/CMakeFiles/simple.dir/depend.make +# Include any dependencies generated by the compiler for this target. +include simple/CMakeFiles/simple.dir/compiler_depend.make + +# Include the progress variables for this target. +include simple/CMakeFiles/simple.dir/progress.make + +# Include the compile flags for this target's objects. +include simple/CMakeFiles/simple.dir/flags.make + +simple/CMakeFiles/simple.dir/simple.o: simple/CMakeFiles/simple.dir/flags.make +simple/CMakeFiles/simple.dir/simple.o: ../simple/simple.cpp +simple/CMakeFiles/simple.dir/simple.o: simple/CMakeFiles/simple.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 simple/CMakeFiles/simple.dir/simple.o" + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/simple && /opt/intel/oneapi/compiler/2024.0/bin/icpx $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -MD -MT simple/CMakeFiles/simple.dir/simple.o -MF CMakeFiles/simple.dir/simple.o.d -o CMakeFiles/simple.dir/simple.o -c /home/jianyuzh/ws/llama.cpp/develop/examples/simple/simple.cpp + +simple/CMakeFiles/simple.dir/simple.i: cmake_force + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/simple.dir/simple.i" + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/simple && /opt/intel/oneapi/compiler/2024.0/bin/icpx $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /home/jianyuzh/ws/llama.cpp/develop/examples/simple/simple.cpp > CMakeFiles/simple.dir/simple.i + +simple/CMakeFiles/simple.dir/simple.s: cmake_force + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/simple.dir/simple.s" + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/simple && /opt/intel/oneapi/compiler/2024.0/bin/icpx $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /home/jianyuzh/ws/llama.cpp/develop/examples/simple/simple.cpp -o CMakeFiles/simple.dir/simple.s + +# Object files for target simple +simple_OBJECTS = \ +"CMakeFiles/simple.dir/simple.o" + +# External object files for target simple +simple_EXTERNAL_OBJECTS = + +simple/simple: simple/CMakeFiles/simple.dir/simple.o +simple/simple: simple/CMakeFiles/simple.dir/build.make +simple/simple: simple/CMakeFiles/simple.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 simple" + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/simple && $(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/simple.dir/link.txt --verbose=$(VERBOSE) + +# Rule to build all files generated by this target. +simple/CMakeFiles/simple.dir/build: simple/simple +.PHONY : simple/CMakeFiles/simple.dir/build + +simple/CMakeFiles/simple.dir/clean: + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/simple && $(CMAKE_COMMAND) -P CMakeFiles/simple.dir/cmake_clean.cmake +.PHONY : simple/CMakeFiles/simple.dir/clean + +simple/CMakeFiles/simple.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/simple /home/jianyuzh/ws/llama.cpp/develop/examples/sycl /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/simple /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/simple/CMakeFiles/simple.dir/DependInfo.cmake --color=$(COLOR) +.PHONY : simple/CMakeFiles/simple.dir/depend + diff --git a/examples/sycl/simple/CMakeFiles/simple.dir/cmake_clean.cmake b/examples/sycl/simple/CMakeFiles/simple.dir/cmake_clean.cmake new file mode 100644 index 000000000..554207f3b --- /dev/null +++ b/examples/sycl/simple/CMakeFiles/simple.dir/cmake_clean.cmake @@ -0,0 +1,11 @@ +file(REMOVE_RECURSE + "CMakeFiles/simple.dir/simple.o" + "CMakeFiles/simple.dir/simple.o.d" + "simple" + "simple.pdb" +) + +# Per-language clean rules from dependency scanning. +foreach(lang CXX) + include(CMakeFiles/simple.dir/cmake_clean_${lang}.cmake OPTIONAL) +endforeach() diff --git a/examples/sycl/simple/CMakeFiles/simple.dir/compiler_depend.make b/examples/sycl/simple/CMakeFiles/simple.dir/compiler_depend.make new file mode 100644 index 000000000..5703239cd --- /dev/null +++ b/examples/sycl/simple/CMakeFiles/simple.dir/compiler_depend.make @@ -0,0 +1,2 @@ +# Empty compiler generated dependencies file for simple. +# This may be replaced when dependencies are built. diff --git a/examples/sycl/simple/CMakeFiles/simple.dir/compiler_depend.ts b/examples/sycl/simple/CMakeFiles/simple.dir/compiler_depend.ts new file mode 100644 index 000000000..3712ddf6e --- /dev/null +++ b/examples/sycl/simple/CMakeFiles/simple.dir/compiler_depend.ts @@ -0,0 +1,2 @@ +# CMAKE generated file: DO NOT EDIT! +# Timestamp file for compiler generated dependencies management for simple. diff --git a/examples/sycl/simple/CMakeFiles/simple.dir/depend.make b/examples/sycl/simple/CMakeFiles/simple.dir/depend.make new file mode 100644 index 000000000..1857af881 --- /dev/null +++ b/examples/sycl/simple/CMakeFiles/simple.dir/depend.make @@ -0,0 +1,2 @@ +# Empty dependencies file for simple. +# This may be replaced when dependencies are built. diff --git a/examples/sycl/simple/CMakeFiles/simple.dir/flags.make b/examples/sycl/simple/CMakeFiles/simple.dir/flags.make new file mode 100644 index 000000000..6bddd3d69 --- /dev/null +++ b/examples/sycl/simple/CMakeFiles/simple.dir/flags.make @@ -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 = + diff --git a/examples/sycl/simple/CMakeFiles/simple.dir/link.txt b/examples/sycl/simple/CMakeFiles/simple.dir/link.txt new file mode 100644 index 000000000..c5460183e --- /dev/null +++ b/examples/sycl/simple/CMakeFiles/simple.dir/link.txt @@ -0,0 +1 @@ +/opt/intel/oneapi/compiler/2024.0/bin/icpx -rdynamic CMakeFiles/simple.dir/simple.o -o simple -lcommon -lllama diff --git a/examples/sycl/simple/CMakeFiles/simple.dir/progress.make b/examples/sycl/simple/CMakeFiles/simple.dir/progress.make new file mode 100644 index 000000000..80ac6c176 --- /dev/null +++ b/examples/sycl/simple/CMakeFiles/simple.dir/progress.make @@ -0,0 +1,3 @@ +CMAKE_PROGRESS_1 = 46 +CMAKE_PROGRESS_2 = 47 + diff --git a/examples/sycl/simple/Makefile b/examples/sycl/simple/Makefile new file mode 100644 index 000000000..d22ab5997 --- /dev/null +++ b/examples/sycl/simple/Makefile @@ -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/simple//CMakeFiles/progress.marks + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 simple/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 simple/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 simple/preinstall +.PHONY : preinstall + +# Prepare targets for installation. +preinstall/fast: + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 simple/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. +simple/CMakeFiles/simple.dir/rule: + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 simple/CMakeFiles/simple.dir/rule +.PHONY : simple/CMakeFiles/simple.dir/rule + +# Convenience name for target. +simple: simple/CMakeFiles/simple.dir/rule +.PHONY : simple + +# fast build rule for target. +simple/fast: + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f simple/CMakeFiles/simple.dir/build.make simple/CMakeFiles/simple.dir/build +.PHONY : simple/fast + +# target to build an object file +simple.o: + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f simple/CMakeFiles/simple.dir/build.make simple/CMakeFiles/simple.dir/simple.o +.PHONY : simple.o + +# target to preprocess a source file +simple.i: + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f simple/CMakeFiles/simple.dir/build.make simple/CMakeFiles/simple.dir/simple.i +.PHONY : simple.i + +# target to generate assembly for a file +simple.s: + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f simple/CMakeFiles/simple.dir/build.make simple/CMakeFiles/simple.dir/simple.s +.PHONY : simple.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 "... simple" + @echo "... simple.o" + @echo "... simple.i" + @echo "... simple.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 + diff --git a/examples/sycl/simple/cmake_install.cmake b/examples/sycl/simple/cmake_install.cmake new file mode 100644 index 000000000..22ab3eaa2 --- /dev/null +++ b/examples/sycl/simple/cmake_install.cmake @@ -0,0 +1,60 @@ +# Install script for directory: /home/jianyuzh/ws/llama.cpp/develop/examples/simple + +# 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/simple" AND + NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/simple") + file(RPATH_CHECK + FILE "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/simple" + RPATH "") + endif() + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/bin" TYPE EXECUTABLE FILES "/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/simple/simple") + if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/simple" AND + NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/simple") + if(CMAKE_INSTALL_DO_STRIP) + execute_process(COMMAND "/usr/bin/strip" "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/simple") + endif() + endif() +endif() + diff --git a/examples/sycl/speculative/CMakeFiles/CMakeDirectoryInformation.cmake b/examples/sycl/speculative/CMakeFiles/CMakeDirectoryInformation.cmake new file mode 100644 index 000000000..5c593a473 --- /dev/null +++ b/examples/sycl/speculative/CMakeFiles/CMakeDirectoryInformation.cmake @@ -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}) diff --git a/examples/sycl/speculative/CMakeFiles/progress.marks b/examples/sycl/speculative/CMakeFiles/progress.marks new file mode 100644 index 000000000..0cfbf0888 --- /dev/null +++ b/examples/sycl/speculative/CMakeFiles/progress.marks @@ -0,0 +1 @@ +2 diff --git a/examples/sycl/speculative/CMakeFiles/speculative.dir/DependInfo.cmake b/examples/sycl/speculative/CMakeFiles/speculative.dir/DependInfo.cmake new file mode 100644 index 000000000..9e7f0cddf --- /dev/null +++ b/examples/sycl/speculative/CMakeFiles/speculative.dir/DependInfo.cmake @@ -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/speculative/speculative.cpp" "speculative/CMakeFiles/speculative.dir/speculative.o" "gcc" "speculative/CMakeFiles/speculative.dir/speculative.o.d" + ) + +# Targets to which this target links. +set(CMAKE_TARGET_LINKED_INFO_FILES + ) + +# Fortran module output directory. +set(CMAKE_Fortran_TARGET_MODULE_DIR "") diff --git a/examples/sycl/speculative/CMakeFiles/speculative.dir/build.make b/examples/sycl/speculative/CMakeFiles/speculative.dir/build.make new file mode 100644 index 000000000..64c40f740 --- /dev/null +++ b/examples/sycl/speculative/CMakeFiles/speculative.dir/build.make @@ -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 speculative/CMakeFiles/speculative.dir/depend.make +# Include any dependencies generated by the compiler for this target. +include speculative/CMakeFiles/speculative.dir/compiler_depend.make + +# Include the progress variables for this target. +include speculative/CMakeFiles/speculative.dir/progress.make + +# Include the compile flags for this target's objects. +include speculative/CMakeFiles/speculative.dir/flags.make + +speculative/CMakeFiles/speculative.dir/speculative.o: speculative/CMakeFiles/speculative.dir/flags.make +speculative/CMakeFiles/speculative.dir/speculative.o: ../speculative/speculative.cpp +speculative/CMakeFiles/speculative.dir/speculative.o: speculative/CMakeFiles/speculative.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 speculative/CMakeFiles/speculative.dir/speculative.o" + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/speculative && /opt/intel/oneapi/compiler/2024.0/bin/icpx $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -MD -MT speculative/CMakeFiles/speculative.dir/speculative.o -MF CMakeFiles/speculative.dir/speculative.o.d -o CMakeFiles/speculative.dir/speculative.o -c /home/jianyuzh/ws/llama.cpp/develop/examples/speculative/speculative.cpp + +speculative/CMakeFiles/speculative.dir/speculative.i: cmake_force + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/speculative.dir/speculative.i" + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/speculative && /opt/intel/oneapi/compiler/2024.0/bin/icpx $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /home/jianyuzh/ws/llama.cpp/develop/examples/speculative/speculative.cpp > CMakeFiles/speculative.dir/speculative.i + +speculative/CMakeFiles/speculative.dir/speculative.s: cmake_force + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/speculative.dir/speculative.s" + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/speculative && /opt/intel/oneapi/compiler/2024.0/bin/icpx $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /home/jianyuzh/ws/llama.cpp/develop/examples/speculative/speculative.cpp -o CMakeFiles/speculative.dir/speculative.s + +# Object files for target speculative +speculative_OBJECTS = \ +"CMakeFiles/speculative.dir/speculative.o" + +# External object files for target speculative +speculative_EXTERNAL_OBJECTS = + +speculative/speculative: speculative/CMakeFiles/speculative.dir/speculative.o +speculative/speculative: speculative/CMakeFiles/speculative.dir/build.make +speculative/speculative: speculative/CMakeFiles/speculative.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 speculative" + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/speculative && $(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/speculative.dir/link.txt --verbose=$(VERBOSE) + +# Rule to build all files generated by this target. +speculative/CMakeFiles/speculative.dir/build: speculative/speculative +.PHONY : speculative/CMakeFiles/speculative.dir/build + +speculative/CMakeFiles/speculative.dir/clean: + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/speculative && $(CMAKE_COMMAND) -P CMakeFiles/speculative.dir/cmake_clean.cmake +.PHONY : speculative/CMakeFiles/speculative.dir/clean + +speculative/CMakeFiles/speculative.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/speculative /home/jianyuzh/ws/llama.cpp/develop/examples/sycl /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/speculative /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/speculative/CMakeFiles/speculative.dir/DependInfo.cmake --color=$(COLOR) +.PHONY : speculative/CMakeFiles/speculative.dir/depend + diff --git a/examples/sycl/speculative/CMakeFiles/speculative.dir/cmake_clean.cmake b/examples/sycl/speculative/CMakeFiles/speculative.dir/cmake_clean.cmake new file mode 100644 index 000000000..68845ff09 --- /dev/null +++ b/examples/sycl/speculative/CMakeFiles/speculative.dir/cmake_clean.cmake @@ -0,0 +1,11 @@ +file(REMOVE_RECURSE + "CMakeFiles/speculative.dir/speculative.o" + "CMakeFiles/speculative.dir/speculative.o.d" + "speculative" + "speculative.pdb" +) + +# Per-language clean rules from dependency scanning. +foreach(lang CXX) + include(CMakeFiles/speculative.dir/cmake_clean_${lang}.cmake OPTIONAL) +endforeach() diff --git a/examples/sycl/speculative/CMakeFiles/speculative.dir/compiler_depend.make b/examples/sycl/speculative/CMakeFiles/speculative.dir/compiler_depend.make new file mode 100644 index 000000000..b76215394 --- /dev/null +++ b/examples/sycl/speculative/CMakeFiles/speculative.dir/compiler_depend.make @@ -0,0 +1,2 @@ +# Empty compiler generated dependencies file for speculative. +# This may be replaced when dependencies are built. diff --git a/examples/sycl/speculative/CMakeFiles/speculative.dir/compiler_depend.ts b/examples/sycl/speculative/CMakeFiles/speculative.dir/compiler_depend.ts new file mode 100644 index 000000000..2afc705ec --- /dev/null +++ b/examples/sycl/speculative/CMakeFiles/speculative.dir/compiler_depend.ts @@ -0,0 +1,2 @@ +# CMAKE generated file: DO NOT EDIT! +# Timestamp file for compiler generated dependencies management for speculative. diff --git a/examples/sycl/speculative/CMakeFiles/speculative.dir/depend.make b/examples/sycl/speculative/CMakeFiles/speculative.dir/depend.make new file mode 100644 index 000000000..6da57c2ba --- /dev/null +++ b/examples/sycl/speculative/CMakeFiles/speculative.dir/depend.make @@ -0,0 +1,2 @@ +# Empty dependencies file for speculative. +# This may be replaced when dependencies are built. diff --git a/examples/sycl/speculative/CMakeFiles/speculative.dir/flags.make b/examples/sycl/speculative/CMakeFiles/speculative.dir/flags.make new file mode 100644 index 000000000..6bddd3d69 --- /dev/null +++ b/examples/sycl/speculative/CMakeFiles/speculative.dir/flags.make @@ -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 = + diff --git a/examples/sycl/speculative/CMakeFiles/speculative.dir/link.txt b/examples/sycl/speculative/CMakeFiles/speculative.dir/link.txt new file mode 100644 index 000000000..9cfb674c9 --- /dev/null +++ b/examples/sycl/speculative/CMakeFiles/speculative.dir/link.txt @@ -0,0 +1 @@ +/opt/intel/oneapi/compiler/2024.0/bin/icpx -rdynamic CMakeFiles/speculative.dir/speculative.o -o speculative -lcommon -lllama diff --git a/examples/sycl/speculative/CMakeFiles/speculative.dir/progress.make b/examples/sycl/speculative/CMakeFiles/speculative.dir/progress.make new file mode 100644 index 000000000..961e1cad8 --- /dev/null +++ b/examples/sycl/speculative/CMakeFiles/speculative.dir/progress.make @@ -0,0 +1,3 @@ +CMAKE_PROGRESS_1 = 48 +CMAKE_PROGRESS_2 = 49 + diff --git a/examples/sycl/speculative/Makefile b/examples/sycl/speculative/Makefile new file mode 100644 index 000000000..713de48f1 --- /dev/null +++ b/examples/sycl/speculative/Makefile @@ -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/speculative//CMakeFiles/progress.marks + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 speculative/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 speculative/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 speculative/preinstall +.PHONY : preinstall + +# Prepare targets for installation. +preinstall/fast: + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 speculative/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. +speculative/CMakeFiles/speculative.dir/rule: + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 speculative/CMakeFiles/speculative.dir/rule +.PHONY : speculative/CMakeFiles/speculative.dir/rule + +# Convenience name for target. +speculative: speculative/CMakeFiles/speculative.dir/rule +.PHONY : speculative + +# fast build rule for target. +speculative/fast: + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f speculative/CMakeFiles/speculative.dir/build.make speculative/CMakeFiles/speculative.dir/build +.PHONY : speculative/fast + +# target to build an object file +speculative.o: + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f speculative/CMakeFiles/speculative.dir/build.make speculative/CMakeFiles/speculative.dir/speculative.o +.PHONY : speculative.o + +# target to preprocess a source file +speculative.i: + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f speculative/CMakeFiles/speculative.dir/build.make speculative/CMakeFiles/speculative.dir/speculative.i +.PHONY : speculative.i + +# target to generate assembly for a file +speculative.s: + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f speculative/CMakeFiles/speculative.dir/build.make speculative/CMakeFiles/speculative.dir/speculative.s +.PHONY : speculative.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 "... speculative" + @echo "... speculative.o" + @echo "... speculative.i" + @echo "... speculative.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 + diff --git a/examples/sycl/speculative/cmake_install.cmake b/examples/sycl/speculative/cmake_install.cmake new file mode 100644 index 000000000..7c9f48908 --- /dev/null +++ b/examples/sycl/speculative/cmake_install.cmake @@ -0,0 +1,60 @@ +# Install script for directory: /home/jianyuzh/ws/llama.cpp/develop/examples/speculative + +# 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/speculative" AND + NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/speculative") + file(RPATH_CHECK + FILE "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/speculative" + RPATH "") + endif() + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/bin" TYPE EXECUTABLE FILES "/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/speculative/speculative") + if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/speculative" AND + NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/speculative") + if(CMAKE_INSTALL_DO_STRIP) + execute_process(COMMAND "/usr/bin/strip" "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/speculative") + endif() + endif() +endif() + diff --git a/examples/sycl/sycl/CMakeFiles/CMakeDirectoryInformation.cmake b/examples/sycl/sycl/CMakeFiles/CMakeDirectoryInformation.cmake new file mode 100644 index 000000000..5c593a473 --- /dev/null +++ b/examples/sycl/sycl/CMakeFiles/CMakeDirectoryInformation.cmake @@ -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}) diff --git a/examples/sycl/sycl/CMakeFiles/ls-sycl-device.dir/DependInfo.cmake b/examples/sycl/sycl/CMakeFiles/ls-sycl-device.dir/DependInfo.cmake new file mode 100644 index 000000000..f86d13476 --- /dev/null +++ b/examples/sycl/sycl/CMakeFiles/ls-sycl-device.dir/DependInfo.cmake @@ -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/sycl/ls-sycl-device.cpp" "sycl/CMakeFiles/ls-sycl-device.dir/ls-sycl-device.o" "gcc" "sycl/CMakeFiles/ls-sycl-device.dir/ls-sycl-device.o.d" + ) + +# Targets to which this target links. +set(CMAKE_TARGET_LINKED_INFO_FILES + ) + +# Fortran module output directory. +set(CMAKE_Fortran_TARGET_MODULE_DIR "") diff --git a/examples/sycl/sycl/CMakeFiles/ls-sycl-device.dir/build.make b/examples/sycl/sycl/CMakeFiles/ls-sycl-device.dir/build.make new file mode 100644 index 000000000..9a8988ea8 --- /dev/null +++ b/examples/sycl/sycl/CMakeFiles/ls-sycl-device.dir/build.make @@ -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 sycl/CMakeFiles/ls-sycl-device.dir/depend.make +# Include any dependencies generated by the compiler for this target. +include sycl/CMakeFiles/ls-sycl-device.dir/compiler_depend.make + +# Include the progress variables for this target. +include sycl/CMakeFiles/ls-sycl-device.dir/progress.make + +# Include the compile flags for this target's objects. +include sycl/CMakeFiles/ls-sycl-device.dir/flags.make + +sycl/CMakeFiles/ls-sycl-device.dir/ls-sycl-device.o: sycl/CMakeFiles/ls-sycl-device.dir/flags.make +sycl/CMakeFiles/ls-sycl-device.dir/ls-sycl-device.o: ls-sycl-device.cpp +sycl/CMakeFiles/ls-sycl-device.dir/ls-sycl-device.o: sycl/CMakeFiles/ls-sycl-device.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 sycl/CMakeFiles/ls-sycl-device.dir/ls-sycl-device.o" + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/sycl && /opt/intel/oneapi/compiler/2024.0/bin/icpx $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -MD -MT sycl/CMakeFiles/ls-sycl-device.dir/ls-sycl-device.o -MF CMakeFiles/ls-sycl-device.dir/ls-sycl-device.o.d -o CMakeFiles/ls-sycl-device.dir/ls-sycl-device.o -c /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/ls-sycl-device.cpp + +sycl/CMakeFiles/ls-sycl-device.dir/ls-sycl-device.i: cmake_force + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/ls-sycl-device.dir/ls-sycl-device.i" + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/sycl && /opt/intel/oneapi/compiler/2024.0/bin/icpx $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/ls-sycl-device.cpp > CMakeFiles/ls-sycl-device.dir/ls-sycl-device.i + +sycl/CMakeFiles/ls-sycl-device.dir/ls-sycl-device.s: cmake_force + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/ls-sycl-device.dir/ls-sycl-device.s" + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/sycl && /opt/intel/oneapi/compiler/2024.0/bin/icpx $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/ls-sycl-device.cpp -o CMakeFiles/ls-sycl-device.dir/ls-sycl-device.s + +# Object files for target ls-sycl-device +ls__sycl__device_OBJECTS = \ +"CMakeFiles/ls-sycl-device.dir/ls-sycl-device.o" + +# External object files for target ls-sycl-device +ls__sycl__device_EXTERNAL_OBJECTS = + +sycl/ls-sycl-device: sycl/CMakeFiles/ls-sycl-device.dir/ls-sycl-device.o +sycl/ls-sycl-device: sycl/CMakeFiles/ls-sycl-device.dir/build.make +sycl/ls-sycl-device: sycl/CMakeFiles/ls-sycl-device.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 ls-sycl-device" + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/sycl && $(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/ls-sycl-device.dir/link.txt --verbose=$(VERBOSE) + +# Rule to build all files generated by this target. +sycl/CMakeFiles/ls-sycl-device.dir/build: sycl/ls-sycl-device +.PHONY : sycl/CMakeFiles/ls-sycl-device.dir/build + +sycl/CMakeFiles/ls-sycl-device.dir/clean: + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/sycl && $(CMAKE_COMMAND) -P CMakeFiles/ls-sycl-device.dir/cmake_clean.cmake +.PHONY : sycl/CMakeFiles/ls-sycl-device.dir/clean + +sycl/CMakeFiles/ls-sycl-device.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/sycl /home/jianyuzh/ws/llama.cpp/develop/examples/sycl /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/sycl /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/sycl/CMakeFiles/ls-sycl-device.dir/DependInfo.cmake --color=$(COLOR) +.PHONY : sycl/CMakeFiles/ls-sycl-device.dir/depend + diff --git a/examples/sycl/sycl/CMakeFiles/ls-sycl-device.dir/cmake_clean.cmake b/examples/sycl/sycl/CMakeFiles/ls-sycl-device.dir/cmake_clean.cmake new file mode 100644 index 000000000..f7bcb5646 --- /dev/null +++ b/examples/sycl/sycl/CMakeFiles/ls-sycl-device.dir/cmake_clean.cmake @@ -0,0 +1,11 @@ +file(REMOVE_RECURSE + "CMakeFiles/ls-sycl-device.dir/ls-sycl-device.o" + "CMakeFiles/ls-sycl-device.dir/ls-sycl-device.o.d" + "ls-sycl-device" + "ls-sycl-device.pdb" +) + +# Per-language clean rules from dependency scanning. +foreach(lang CXX) + include(CMakeFiles/ls-sycl-device.dir/cmake_clean_${lang}.cmake OPTIONAL) +endforeach() diff --git a/examples/sycl/sycl/CMakeFiles/ls-sycl-device.dir/compiler_depend.make b/examples/sycl/sycl/CMakeFiles/ls-sycl-device.dir/compiler_depend.make new file mode 100644 index 000000000..eda69ffb9 --- /dev/null +++ b/examples/sycl/sycl/CMakeFiles/ls-sycl-device.dir/compiler_depend.make @@ -0,0 +1,2 @@ +# Empty compiler generated dependencies file for ls-sycl-device. +# This may be replaced when dependencies are built. diff --git a/examples/sycl/sycl/CMakeFiles/ls-sycl-device.dir/compiler_depend.ts b/examples/sycl/sycl/CMakeFiles/ls-sycl-device.dir/compiler_depend.ts new file mode 100644 index 000000000..c5f1ce2e4 --- /dev/null +++ b/examples/sycl/sycl/CMakeFiles/ls-sycl-device.dir/compiler_depend.ts @@ -0,0 +1,2 @@ +# CMAKE generated file: DO NOT EDIT! +# Timestamp file for compiler generated dependencies management for ls-sycl-device. diff --git a/examples/sycl/sycl/CMakeFiles/ls-sycl-device.dir/depend.make b/examples/sycl/sycl/CMakeFiles/ls-sycl-device.dir/depend.make new file mode 100644 index 000000000..911368e45 --- /dev/null +++ b/examples/sycl/sycl/CMakeFiles/ls-sycl-device.dir/depend.make @@ -0,0 +1,2 @@ +# Empty dependencies file for ls-sycl-device. +# This may be replaced when dependencies are built. diff --git a/examples/sycl/sycl/CMakeFiles/ls-sycl-device.dir/flags.make b/examples/sycl/sycl/CMakeFiles/ls-sycl-device.dir/flags.make new file mode 100644 index 000000000..931e8c441 --- /dev/null +++ b/examples/sycl/sycl/CMakeFiles/ls-sycl-device.dir/flags.make @@ -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 = -std=c++17 -Wno-narrowing -O3 -fsycl -I./ -I//2024.0/include + diff --git a/examples/sycl/sycl/CMakeFiles/ls-sycl-device.dir/link.txt b/examples/sycl/sycl/CMakeFiles/ls-sycl-device.dir/link.txt new file mode 100644 index 000000000..44973a40d --- /dev/null +++ b/examples/sycl/sycl/CMakeFiles/ls-sycl-device.dir/link.txt @@ -0,0 +1 @@ +/opt/intel/oneapi/compiler/2024.0/bin/icpx -std=c++17 -Wno-narrowing -O3 -fsycl -rdynamic CMakeFiles/ls-sycl-device.dir/ls-sycl-device.o -o ls-sycl-device -lcommon -lllama diff --git a/examples/sycl/sycl/CMakeFiles/ls-sycl-device.dir/progress.make b/examples/sycl/sycl/CMakeFiles/ls-sycl-device.dir/progress.make new file mode 100644 index 000000000..e1615c182 --- /dev/null +++ b/examples/sycl/sycl/CMakeFiles/ls-sycl-device.dir/progress.make @@ -0,0 +1,3 @@ +CMAKE_PROGRESS_1 = 32 +CMAKE_PROGRESS_2 = 33 + diff --git a/examples/sycl/sycl/CMakeFiles/progress.marks b/examples/sycl/sycl/CMakeFiles/progress.marks new file mode 100644 index 000000000..0cfbf0888 --- /dev/null +++ b/examples/sycl/sycl/CMakeFiles/progress.marks @@ -0,0 +1 @@ +2 diff --git a/examples/sycl/sycl/Makefile b/examples/sycl/sycl/Makefile new file mode 100644 index 000000000..b6a09fb7f --- /dev/null +++ b/examples/sycl/sycl/Makefile @@ -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/sycl//CMakeFiles/progress.marks + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 sycl/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 sycl/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 sycl/preinstall +.PHONY : preinstall + +# Prepare targets for installation. +preinstall/fast: + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 sycl/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. +sycl/CMakeFiles/ls-sycl-device.dir/rule: + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 sycl/CMakeFiles/ls-sycl-device.dir/rule +.PHONY : sycl/CMakeFiles/ls-sycl-device.dir/rule + +# Convenience name for target. +ls-sycl-device: sycl/CMakeFiles/ls-sycl-device.dir/rule +.PHONY : ls-sycl-device + +# fast build rule for target. +ls-sycl-device/fast: + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f sycl/CMakeFiles/ls-sycl-device.dir/build.make sycl/CMakeFiles/ls-sycl-device.dir/build +.PHONY : ls-sycl-device/fast + +# target to build an object file +ls-sycl-device.o: + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f sycl/CMakeFiles/ls-sycl-device.dir/build.make sycl/CMakeFiles/ls-sycl-device.dir/ls-sycl-device.o +.PHONY : ls-sycl-device.o + +# target to preprocess a source file +ls-sycl-device.i: + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f sycl/CMakeFiles/ls-sycl-device.dir/build.make sycl/CMakeFiles/ls-sycl-device.dir/ls-sycl-device.i +.PHONY : ls-sycl-device.i + +# target to generate assembly for a file +ls-sycl-device.s: + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f sycl/CMakeFiles/ls-sycl-device.dir/build.make sycl/CMakeFiles/ls-sycl-device.dir/ls-sycl-device.s +.PHONY : ls-sycl-device.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 "... ls-sycl-device" + @echo "... ls-sycl-device.o" + @echo "... ls-sycl-device.i" + @echo "... ls-sycl-device.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 + diff --git a/examples/sycl/sycl/cmake_install.cmake b/examples/sycl/sycl/cmake_install.cmake new file mode 100644 index 000000000..17c549fd9 --- /dev/null +++ b/examples/sycl/sycl/cmake_install.cmake @@ -0,0 +1,60 @@ +# Install script for directory: /home/jianyuzh/ws/llama.cpp/develop/examples/sycl + +# 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/ls-sycl-device" AND + NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/ls-sycl-device") + file(RPATH_CHECK + FILE "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/ls-sycl-device" + RPATH "") + endif() + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/bin" TYPE EXECUTABLE FILES "/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/sycl/ls-sycl-device") + if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/ls-sycl-device" AND + NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/ls-sycl-device") + if(CMAKE_INSTALL_DO_STRIP) + execute_process(COMMAND "/usr/bin/strip" "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/ls-sycl-device") + endif() + endif() +endif() + diff --git a/examples/sycl/tokenize/CMakeFiles/CMakeDirectoryInformation.cmake b/examples/sycl/tokenize/CMakeFiles/CMakeDirectoryInformation.cmake new file mode 100644 index 000000000..5c593a473 --- /dev/null +++ b/examples/sycl/tokenize/CMakeFiles/CMakeDirectoryInformation.cmake @@ -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}) diff --git a/examples/sycl/tokenize/CMakeFiles/progress.marks b/examples/sycl/tokenize/CMakeFiles/progress.marks new file mode 100644 index 000000000..0cfbf0888 --- /dev/null +++ b/examples/sycl/tokenize/CMakeFiles/progress.marks @@ -0,0 +1 @@ +2 diff --git a/examples/sycl/tokenize/CMakeFiles/tokenize.dir/DependInfo.cmake b/examples/sycl/tokenize/CMakeFiles/tokenize.dir/DependInfo.cmake new file mode 100644 index 000000000..f887be24f --- /dev/null +++ b/examples/sycl/tokenize/CMakeFiles/tokenize.dir/DependInfo.cmake @@ -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/tokenize/tokenize.cpp" "tokenize/CMakeFiles/tokenize.dir/tokenize.o" "gcc" "tokenize/CMakeFiles/tokenize.dir/tokenize.o.d" + ) + +# Targets to which this target links. +set(CMAKE_TARGET_LINKED_INFO_FILES + ) + +# Fortran module output directory. +set(CMAKE_Fortran_TARGET_MODULE_DIR "") diff --git a/examples/sycl/tokenize/CMakeFiles/tokenize.dir/build.make b/examples/sycl/tokenize/CMakeFiles/tokenize.dir/build.make new file mode 100644 index 000000000..1164bb382 --- /dev/null +++ b/examples/sycl/tokenize/CMakeFiles/tokenize.dir/build.make @@ -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 tokenize/CMakeFiles/tokenize.dir/depend.make +# Include any dependencies generated by the compiler for this target. +include tokenize/CMakeFiles/tokenize.dir/compiler_depend.make + +# Include the progress variables for this target. +include tokenize/CMakeFiles/tokenize.dir/progress.make + +# Include the compile flags for this target's objects. +include tokenize/CMakeFiles/tokenize.dir/flags.make + +tokenize/CMakeFiles/tokenize.dir/tokenize.o: tokenize/CMakeFiles/tokenize.dir/flags.make +tokenize/CMakeFiles/tokenize.dir/tokenize.o: ../tokenize/tokenize.cpp +tokenize/CMakeFiles/tokenize.dir/tokenize.o: tokenize/CMakeFiles/tokenize.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 tokenize/CMakeFiles/tokenize.dir/tokenize.o" + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/tokenize && /opt/intel/oneapi/compiler/2024.0/bin/icpx $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -MD -MT tokenize/CMakeFiles/tokenize.dir/tokenize.o -MF CMakeFiles/tokenize.dir/tokenize.o.d -o CMakeFiles/tokenize.dir/tokenize.o -c /home/jianyuzh/ws/llama.cpp/develop/examples/tokenize/tokenize.cpp + +tokenize/CMakeFiles/tokenize.dir/tokenize.i: cmake_force + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/tokenize.dir/tokenize.i" + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/tokenize && /opt/intel/oneapi/compiler/2024.0/bin/icpx $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /home/jianyuzh/ws/llama.cpp/develop/examples/tokenize/tokenize.cpp > CMakeFiles/tokenize.dir/tokenize.i + +tokenize/CMakeFiles/tokenize.dir/tokenize.s: cmake_force + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/tokenize.dir/tokenize.s" + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/tokenize && /opt/intel/oneapi/compiler/2024.0/bin/icpx $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /home/jianyuzh/ws/llama.cpp/develop/examples/tokenize/tokenize.cpp -o CMakeFiles/tokenize.dir/tokenize.s + +# Object files for target tokenize +tokenize_OBJECTS = \ +"CMakeFiles/tokenize.dir/tokenize.o" + +# External object files for target tokenize +tokenize_EXTERNAL_OBJECTS = + +tokenize/tokenize: tokenize/CMakeFiles/tokenize.dir/tokenize.o +tokenize/tokenize: tokenize/CMakeFiles/tokenize.dir/build.make +tokenize/tokenize: tokenize/CMakeFiles/tokenize.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 tokenize" + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/tokenize && $(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/tokenize.dir/link.txt --verbose=$(VERBOSE) + +# Rule to build all files generated by this target. +tokenize/CMakeFiles/tokenize.dir/build: tokenize/tokenize +.PHONY : tokenize/CMakeFiles/tokenize.dir/build + +tokenize/CMakeFiles/tokenize.dir/clean: + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/tokenize && $(CMAKE_COMMAND) -P CMakeFiles/tokenize.dir/cmake_clean.cmake +.PHONY : tokenize/CMakeFiles/tokenize.dir/clean + +tokenize/CMakeFiles/tokenize.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/tokenize /home/jianyuzh/ws/llama.cpp/develop/examples/sycl /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/tokenize /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/tokenize/CMakeFiles/tokenize.dir/DependInfo.cmake --color=$(COLOR) +.PHONY : tokenize/CMakeFiles/tokenize.dir/depend + diff --git a/examples/sycl/tokenize/CMakeFiles/tokenize.dir/cmake_clean.cmake b/examples/sycl/tokenize/CMakeFiles/tokenize.dir/cmake_clean.cmake new file mode 100644 index 000000000..1f3463088 --- /dev/null +++ b/examples/sycl/tokenize/CMakeFiles/tokenize.dir/cmake_clean.cmake @@ -0,0 +1,11 @@ +file(REMOVE_RECURSE + "CMakeFiles/tokenize.dir/tokenize.o" + "CMakeFiles/tokenize.dir/tokenize.o.d" + "tokenize" + "tokenize.pdb" +) + +# Per-language clean rules from dependency scanning. +foreach(lang CXX) + include(CMakeFiles/tokenize.dir/cmake_clean_${lang}.cmake OPTIONAL) +endforeach() diff --git a/examples/sycl/tokenize/CMakeFiles/tokenize.dir/compiler_depend.make b/examples/sycl/tokenize/CMakeFiles/tokenize.dir/compiler_depend.make new file mode 100644 index 000000000..13f791178 --- /dev/null +++ b/examples/sycl/tokenize/CMakeFiles/tokenize.dir/compiler_depend.make @@ -0,0 +1,2 @@ +# Empty compiler generated dependencies file for tokenize. +# This may be replaced when dependencies are built. diff --git a/examples/sycl/tokenize/CMakeFiles/tokenize.dir/compiler_depend.ts b/examples/sycl/tokenize/CMakeFiles/tokenize.dir/compiler_depend.ts new file mode 100644 index 000000000..0900c89c7 --- /dev/null +++ b/examples/sycl/tokenize/CMakeFiles/tokenize.dir/compiler_depend.ts @@ -0,0 +1,2 @@ +# CMAKE generated file: DO NOT EDIT! +# Timestamp file for compiler generated dependencies management for tokenize. diff --git a/examples/sycl/tokenize/CMakeFiles/tokenize.dir/depend.make b/examples/sycl/tokenize/CMakeFiles/tokenize.dir/depend.make new file mode 100644 index 000000000..e1f613484 --- /dev/null +++ b/examples/sycl/tokenize/CMakeFiles/tokenize.dir/depend.make @@ -0,0 +1,2 @@ +# Empty dependencies file for tokenize. +# This may be replaced when dependencies are built. diff --git a/examples/sycl/tokenize/CMakeFiles/tokenize.dir/flags.make b/examples/sycl/tokenize/CMakeFiles/tokenize.dir/flags.make new file mode 100644 index 000000000..6bddd3d69 --- /dev/null +++ b/examples/sycl/tokenize/CMakeFiles/tokenize.dir/flags.make @@ -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 = + diff --git a/examples/sycl/tokenize/CMakeFiles/tokenize.dir/link.txt b/examples/sycl/tokenize/CMakeFiles/tokenize.dir/link.txt new file mode 100644 index 000000000..a0037536c --- /dev/null +++ b/examples/sycl/tokenize/CMakeFiles/tokenize.dir/link.txt @@ -0,0 +1 @@ +/opt/intel/oneapi/compiler/2024.0/bin/icpx -rdynamic CMakeFiles/tokenize.dir/tokenize.o -o tokenize -lcommon -lllama diff --git a/examples/sycl/tokenize/CMakeFiles/tokenize.dir/progress.make b/examples/sycl/tokenize/CMakeFiles/tokenize.dir/progress.make new file mode 100644 index 000000000..dbabe1f50 --- /dev/null +++ b/examples/sycl/tokenize/CMakeFiles/tokenize.dir/progress.make @@ -0,0 +1,3 @@ +CMAKE_PROGRESS_1 = 50 +CMAKE_PROGRESS_2 = 51 + diff --git a/examples/sycl/tokenize/Makefile b/examples/sycl/tokenize/Makefile new file mode 100644 index 000000000..19d5b91c6 --- /dev/null +++ b/examples/sycl/tokenize/Makefile @@ -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/tokenize//CMakeFiles/progress.marks + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 tokenize/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 tokenize/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 tokenize/preinstall +.PHONY : preinstall + +# Prepare targets for installation. +preinstall/fast: + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 tokenize/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. +tokenize/CMakeFiles/tokenize.dir/rule: + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 tokenize/CMakeFiles/tokenize.dir/rule +.PHONY : tokenize/CMakeFiles/tokenize.dir/rule + +# Convenience name for target. +tokenize: tokenize/CMakeFiles/tokenize.dir/rule +.PHONY : tokenize + +# fast build rule for target. +tokenize/fast: + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f tokenize/CMakeFiles/tokenize.dir/build.make tokenize/CMakeFiles/tokenize.dir/build +.PHONY : tokenize/fast + +# target to build an object file +tokenize.o: + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f tokenize/CMakeFiles/tokenize.dir/build.make tokenize/CMakeFiles/tokenize.dir/tokenize.o +.PHONY : tokenize.o + +# target to preprocess a source file +tokenize.i: + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f tokenize/CMakeFiles/tokenize.dir/build.make tokenize/CMakeFiles/tokenize.dir/tokenize.i +.PHONY : tokenize.i + +# target to generate assembly for a file +tokenize.s: + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f tokenize/CMakeFiles/tokenize.dir/build.make tokenize/CMakeFiles/tokenize.dir/tokenize.s +.PHONY : tokenize.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 "... tokenize" + @echo "... tokenize.o" + @echo "... tokenize.i" + @echo "... tokenize.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 + diff --git a/examples/sycl/tokenize/cmake_install.cmake b/examples/sycl/tokenize/cmake_install.cmake new file mode 100644 index 000000000..a3c2dfb59 --- /dev/null +++ b/examples/sycl/tokenize/cmake_install.cmake @@ -0,0 +1,60 @@ +# Install script for directory: /home/jianyuzh/ws/llama.cpp/develop/examples/tokenize + +# 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/tokenize" AND + NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/tokenize") + file(RPATH_CHECK + FILE "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/tokenize" + RPATH "") + endif() + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/bin" TYPE EXECUTABLE FILES "/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/tokenize/tokenize") + if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/tokenize" AND + NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/tokenize") + if(CMAKE_INSTALL_DO_STRIP) + execute_process(COMMAND "/usr/bin/strip" "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/tokenize") + endif() + endif() +endif() + diff --git a/examples/sycl/train-text-from-scratch/CMakeFiles/CMakeDirectoryInformation.cmake b/examples/sycl/train-text-from-scratch/CMakeFiles/CMakeDirectoryInformation.cmake new file mode 100644 index 000000000..5c593a473 --- /dev/null +++ b/examples/sycl/train-text-from-scratch/CMakeFiles/CMakeDirectoryInformation.cmake @@ -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}) diff --git a/examples/sycl/train-text-from-scratch/CMakeFiles/progress.marks b/examples/sycl/train-text-from-scratch/CMakeFiles/progress.marks new file mode 100644 index 000000000..0cfbf0888 --- /dev/null +++ b/examples/sycl/train-text-from-scratch/CMakeFiles/progress.marks @@ -0,0 +1 @@ +2 diff --git a/examples/sycl/train-text-from-scratch/CMakeFiles/train-text-from-scratch.dir/DependInfo.cmake b/examples/sycl/train-text-from-scratch/CMakeFiles/train-text-from-scratch.dir/DependInfo.cmake new file mode 100644 index 000000000..b66111533 --- /dev/null +++ b/examples/sycl/train-text-from-scratch/CMakeFiles/train-text-from-scratch.dir/DependInfo.cmake @@ -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/train-text-from-scratch/train-text-from-scratch.cpp" "train-text-from-scratch/CMakeFiles/train-text-from-scratch.dir/train-text-from-scratch.o" "gcc" "train-text-from-scratch/CMakeFiles/train-text-from-scratch.dir/train-text-from-scratch.o.d" + ) + +# Targets to which this target links. +set(CMAKE_TARGET_LINKED_INFO_FILES + ) + +# Fortran module output directory. +set(CMAKE_Fortran_TARGET_MODULE_DIR "") diff --git a/examples/sycl/train-text-from-scratch/CMakeFiles/train-text-from-scratch.dir/build.make b/examples/sycl/train-text-from-scratch/CMakeFiles/train-text-from-scratch.dir/build.make new file mode 100644 index 000000000..5c57f36d5 --- /dev/null +++ b/examples/sycl/train-text-from-scratch/CMakeFiles/train-text-from-scratch.dir/build.make @@ -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 train-text-from-scratch/CMakeFiles/train-text-from-scratch.dir/depend.make +# Include any dependencies generated by the compiler for this target. +include train-text-from-scratch/CMakeFiles/train-text-from-scratch.dir/compiler_depend.make + +# Include the progress variables for this target. +include train-text-from-scratch/CMakeFiles/train-text-from-scratch.dir/progress.make + +# Include the compile flags for this target's objects. +include train-text-from-scratch/CMakeFiles/train-text-from-scratch.dir/flags.make + +train-text-from-scratch/CMakeFiles/train-text-from-scratch.dir/train-text-from-scratch.o: train-text-from-scratch/CMakeFiles/train-text-from-scratch.dir/flags.make +train-text-from-scratch/CMakeFiles/train-text-from-scratch.dir/train-text-from-scratch.o: ../train-text-from-scratch/train-text-from-scratch.cpp +train-text-from-scratch/CMakeFiles/train-text-from-scratch.dir/train-text-from-scratch.o: train-text-from-scratch/CMakeFiles/train-text-from-scratch.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 train-text-from-scratch/CMakeFiles/train-text-from-scratch.dir/train-text-from-scratch.o" + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/train-text-from-scratch && /opt/intel/oneapi/compiler/2024.0/bin/icpx $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -MD -MT train-text-from-scratch/CMakeFiles/train-text-from-scratch.dir/train-text-from-scratch.o -MF CMakeFiles/train-text-from-scratch.dir/train-text-from-scratch.o.d -o CMakeFiles/train-text-from-scratch.dir/train-text-from-scratch.o -c /home/jianyuzh/ws/llama.cpp/develop/examples/train-text-from-scratch/train-text-from-scratch.cpp + +train-text-from-scratch/CMakeFiles/train-text-from-scratch.dir/train-text-from-scratch.i: cmake_force + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/train-text-from-scratch.dir/train-text-from-scratch.i" + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/train-text-from-scratch && /opt/intel/oneapi/compiler/2024.0/bin/icpx $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /home/jianyuzh/ws/llama.cpp/develop/examples/train-text-from-scratch/train-text-from-scratch.cpp > CMakeFiles/train-text-from-scratch.dir/train-text-from-scratch.i + +train-text-from-scratch/CMakeFiles/train-text-from-scratch.dir/train-text-from-scratch.s: cmake_force + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/train-text-from-scratch.dir/train-text-from-scratch.s" + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/train-text-from-scratch && /opt/intel/oneapi/compiler/2024.0/bin/icpx $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /home/jianyuzh/ws/llama.cpp/develop/examples/train-text-from-scratch/train-text-from-scratch.cpp -o CMakeFiles/train-text-from-scratch.dir/train-text-from-scratch.s + +# Object files for target train-text-from-scratch +train__text__from__scratch_OBJECTS = \ +"CMakeFiles/train-text-from-scratch.dir/train-text-from-scratch.o" + +# External object files for target train-text-from-scratch +train__text__from__scratch_EXTERNAL_OBJECTS = + +train-text-from-scratch/train-text-from-scratch: train-text-from-scratch/CMakeFiles/train-text-from-scratch.dir/train-text-from-scratch.o +train-text-from-scratch/train-text-from-scratch: train-text-from-scratch/CMakeFiles/train-text-from-scratch.dir/build.make +train-text-from-scratch/train-text-from-scratch: train-text-from-scratch/CMakeFiles/train-text-from-scratch.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 train-text-from-scratch" + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/train-text-from-scratch && $(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/train-text-from-scratch.dir/link.txt --verbose=$(VERBOSE) + +# Rule to build all files generated by this target. +train-text-from-scratch/CMakeFiles/train-text-from-scratch.dir/build: train-text-from-scratch/train-text-from-scratch +.PHONY : train-text-from-scratch/CMakeFiles/train-text-from-scratch.dir/build + +train-text-from-scratch/CMakeFiles/train-text-from-scratch.dir/clean: + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/train-text-from-scratch && $(CMAKE_COMMAND) -P CMakeFiles/train-text-from-scratch.dir/cmake_clean.cmake +.PHONY : train-text-from-scratch/CMakeFiles/train-text-from-scratch.dir/clean + +train-text-from-scratch/CMakeFiles/train-text-from-scratch.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/train-text-from-scratch /home/jianyuzh/ws/llama.cpp/develop/examples/sycl /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/train-text-from-scratch /home/jianyuzh/ws/llama.cpp/develop/examples/sycl/train-text-from-scratch/CMakeFiles/train-text-from-scratch.dir/DependInfo.cmake --color=$(COLOR) +.PHONY : train-text-from-scratch/CMakeFiles/train-text-from-scratch.dir/depend + diff --git a/examples/sycl/train-text-from-scratch/CMakeFiles/train-text-from-scratch.dir/cmake_clean.cmake b/examples/sycl/train-text-from-scratch/CMakeFiles/train-text-from-scratch.dir/cmake_clean.cmake new file mode 100644 index 000000000..05bfb17e3 --- /dev/null +++ b/examples/sycl/train-text-from-scratch/CMakeFiles/train-text-from-scratch.dir/cmake_clean.cmake @@ -0,0 +1,11 @@ +file(REMOVE_RECURSE + "CMakeFiles/train-text-from-scratch.dir/train-text-from-scratch.o" + "CMakeFiles/train-text-from-scratch.dir/train-text-from-scratch.o.d" + "train-text-from-scratch" + "train-text-from-scratch.pdb" +) + +# Per-language clean rules from dependency scanning. +foreach(lang CXX) + include(CMakeFiles/train-text-from-scratch.dir/cmake_clean_${lang}.cmake OPTIONAL) +endforeach() diff --git a/examples/sycl/train-text-from-scratch/CMakeFiles/train-text-from-scratch.dir/compiler_depend.make b/examples/sycl/train-text-from-scratch/CMakeFiles/train-text-from-scratch.dir/compiler_depend.make new file mode 100644 index 000000000..e9531edfa --- /dev/null +++ b/examples/sycl/train-text-from-scratch/CMakeFiles/train-text-from-scratch.dir/compiler_depend.make @@ -0,0 +1,2 @@ +# Empty compiler generated dependencies file for train-text-from-scratch. +# This may be replaced when dependencies are built. diff --git a/examples/sycl/train-text-from-scratch/CMakeFiles/train-text-from-scratch.dir/compiler_depend.ts b/examples/sycl/train-text-from-scratch/CMakeFiles/train-text-from-scratch.dir/compiler_depend.ts new file mode 100644 index 000000000..27df3e1de --- /dev/null +++ b/examples/sycl/train-text-from-scratch/CMakeFiles/train-text-from-scratch.dir/compiler_depend.ts @@ -0,0 +1,2 @@ +# CMAKE generated file: DO NOT EDIT! +# Timestamp file for compiler generated dependencies management for train-text-from-scratch. diff --git a/examples/sycl/train-text-from-scratch/CMakeFiles/train-text-from-scratch.dir/depend.make b/examples/sycl/train-text-from-scratch/CMakeFiles/train-text-from-scratch.dir/depend.make new file mode 100644 index 000000000..4aa3cbd93 --- /dev/null +++ b/examples/sycl/train-text-from-scratch/CMakeFiles/train-text-from-scratch.dir/depend.make @@ -0,0 +1,2 @@ +# Empty dependencies file for train-text-from-scratch. +# This may be replaced when dependencies are built. diff --git a/examples/sycl/train-text-from-scratch/CMakeFiles/train-text-from-scratch.dir/flags.make b/examples/sycl/train-text-from-scratch/CMakeFiles/train-text-from-scratch.dir/flags.make new file mode 100644 index 000000000..6bddd3d69 --- /dev/null +++ b/examples/sycl/train-text-from-scratch/CMakeFiles/train-text-from-scratch.dir/flags.make @@ -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 = + diff --git a/examples/sycl/train-text-from-scratch/CMakeFiles/train-text-from-scratch.dir/link.txt b/examples/sycl/train-text-from-scratch/CMakeFiles/train-text-from-scratch.dir/link.txt new file mode 100644 index 000000000..e6e1f8bf1 --- /dev/null +++ b/examples/sycl/train-text-from-scratch/CMakeFiles/train-text-from-scratch.dir/link.txt @@ -0,0 +1 @@ +/opt/intel/oneapi/compiler/2024.0/bin/icpx -rdynamic CMakeFiles/train-text-from-scratch.dir/train-text-from-scratch.o -o train-text-from-scratch -lcommon -lllama diff --git a/examples/sycl/train-text-from-scratch/CMakeFiles/train-text-from-scratch.dir/progress.make b/examples/sycl/train-text-from-scratch/CMakeFiles/train-text-from-scratch.dir/progress.make new file mode 100644 index 000000000..3b1f03a28 --- /dev/null +++ b/examples/sycl/train-text-from-scratch/CMakeFiles/train-text-from-scratch.dir/progress.make @@ -0,0 +1,3 @@ +CMAKE_PROGRESS_1 = 52 +CMAKE_PROGRESS_2 = 53 + diff --git a/examples/sycl/train-text-from-scratch/Makefile b/examples/sycl/train-text-from-scratch/Makefile new file mode 100644 index 000000000..6b6a274f9 --- /dev/null +++ b/examples/sycl/train-text-from-scratch/Makefile @@ -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/train-text-from-scratch//CMakeFiles/progress.marks + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 train-text-from-scratch/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 train-text-from-scratch/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 train-text-from-scratch/preinstall +.PHONY : preinstall + +# Prepare targets for installation. +preinstall/fast: + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 train-text-from-scratch/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. +train-text-from-scratch/CMakeFiles/train-text-from-scratch.dir/rule: + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 train-text-from-scratch/CMakeFiles/train-text-from-scratch.dir/rule +.PHONY : train-text-from-scratch/CMakeFiles/train-text-from-scratch.dir/rule + +# Convenience name for target. +train-text-from-scratch: train-text-from-scratch/CMakeFiles/train-text-from-scratch.dir/rule +.PHONY : train-text-from-scratch + +# fast build rule for target. +train-text-from-scratch/fast: + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(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 to build an object file +train-text-from-scratch.o: + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(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/train-text-from-scratch.o +.PHONY : train-text-from-scratch.o + +# target to preprocess a source file +train-text-from-scratch.i: + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(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/train-text-from-scratch.i +.PHONY : train-text-from-scratch.i + +# target to generate assembly for a file +train-text-from-scratch.s: + cd /home/jianyuzh/ws/llama.cpp/develop/examples/sycl && $(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/train-text-from-scratch.s +.PHONY : train-text-from-scratch.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 "... train-text-from-scratch" + @echo "... train-text-from-scratch.o" + @echo "... train-text-from-scratch.i" + @echo "... train-text-from-scratch.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 + diff --git a/examples/sycl/train-text-from-scratch/cmake_install.cmake b/examples/sycl/train-text-from-scratch/cmake_install.cmake new file mode 100644 index 000000000..ea9a26728 --- /dev/null +++ b/examples/sycl/train-text-from-scratch/cmake_install.cmake @@ -0,0 +1,60 @@ +# Install script for directory: /home/jianyuzh/ws/llama.cpp/develop/examples/train-text-from-scratch + +# 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/train-text-from-scratch" AND + NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/train-text-from-scratch") + file(RPATH_CHECK + FILE "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/train-text-from-scratch" + RPATH "") + endif() + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/bin" TYPE EXECUTABLE FILES "/home/jianyuzh/ws/llama.cpp/develop/examples/sycl/train-text-from-scratch/train-text-from-scratch") + if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/train-text-from-scratch" AND + NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/train-text-from-scratch") + if(CMAKE_INSTALL_DO_STRIP) + execute_process(COMMAND "/usr/bin/strip" "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/train-text-from-scratch") + endif() + endif() +endif() +