1
0
mirror of https://github.com/fumiama/base16384-sycl.git synced 2026-06-27 16:20:29 +08:00

init: project framework

This commit is contained in:
源文雨
2025-09-26 17:27:44 +08:00
commit 949438b794
6 changed files with 272 additions and 0 deletions

52
.vscode/c_cpp_properties.json vendored Normal file
View File

@@ -0,0 +1,52 @@
{
"configurations": [
{
"name": "Win32",
"includePath": [
"${workspaceFolder}/**",
"${config:oneapi.root.windows}/compiler/latest/include",
"${config:oneapi.root.windows}/compiler/latest/include/sycl"
],
"defines": [
"_DEBUG",
"UNICODE",
"_UNICODE",
"__SYCL_DEVICE_ONLY__",
"SYCL_LANGUAGE_VERSION=2020"
],
"windowsSdkVersion": "10.0.22621.0",
"compilerPath": "${config:oneapi.root.windows}/compiler/latest/bin/icx.exe",
"compilerArgs": [
"-fsycl"
],
"cStandard": "c17",
"cppStandard": "c++17",
"intelliSenseMode": "windows-clang-x64",
"configurationProvider": "ms-vscode.cmake-tools"
},
{
"name": "Linux",
"includePath": [
"${workspaceFolder}/**",
"${config:oneapi.root.linux}/compiler/latest/include",
"${config:oneapi.root.linux}/compiler/latest/include/sycl",
"/usr/include",
"/usr/local/include"
],
"defines": [
"_DEBUG",
"__SYCL_DEVICE_ONLY__",
"SYCL_LANGUAGE_VERSION=2020"
],
"compilerPath": "${config:oneapi.root.linux}/compiler/latest/bin/icpx",
"compilerArgs": [
"-fsycl"
],
"cStandard": "c17",
"cppStandard": "c++17",
"intelliSenseMode": "linux-gcc-x64",
"configurationProvider": "ms-vscode.cmake-tools"
}
],
"version": 4
}

100
.vscode/settings.json vendored Normal file
View File

@@ -0,0 +1,100 @@
{
"oneapi.root.windows": "C:/Program Files (x86)/Intel/oneAPI",
"oneapi.root.linux": "/opt/intel/oneapi",
"files.associations": {
"vector": "cpp",
"iostream": "cpp",
"string": "cpp",
"array": "cpp",
"algorithm": "cpp",
"atomic": "cpp",
"bit": "cpp",
"bitset": "cpp",
"cctype": "cpp",
"cfenv": "cpp",
"charconv": "cpp",
"cinttypes": "cpp",
"clocale": "cpp",
"cmath": "cpp",
"compare": "cpp",
"concepts": "cpp",
"cstddef": "cpp",
"cstdint": "cpp",
"cstdio": "cpp",
"cstdlib": "cpp",
"cstring": "cpp",
"ctime": "cpp",
"cwchar": "cpp",
"exception": "cpp",
"format": "cpp",
"functional": "cpp",
"initializer_list": "cpp",
"ios": "cpp",
"iosfwd": "cpp",
"istream": "cpp",
"iterator": "cpp",
"limits": "cpp",
"list": "cpp",
"locale": "cpp",
"memory": "cpp",
"mutex": "cpp",
"new": "cpp",
"numeric": "cpp",
"optional": "cpp",
"ostream": "cpp",
"ratio": "cpp",
"span": "cpp",
"sstream": "cpp",
"stdexcept": "cpp",
"stop_token": "cpp",
"streambuf": "cpp",
"system_error": "cpp",
"thread": "cpp",
"tuple": "cpp",
"type_traits": "cpp",
"typeinfo": "cpp",
"unordered_map": "cpp",
"utility": "cpp",
"variant": "cpp",
"xfacet": "cpp",
"xhash": "cpp",
"xiosbase": "cpp",
"xlocale": "cpp",
"xlocbuf": "cpp",
"xlocinfo": "cpp",
"xlocmes": "cpp",
"xlocmon": "cpp",
"xlocnum": "cpp",
"xloctime": "cpp",
"xmemory": "cpp",
"xstring": "cpp",
"xtr1common": "cpp",
"xutility": "cpp"
},
"terminal.integrated.defaultProfile.windows": "Command Prompt with oneAPI",
"terminal.integrated.defaultProfile.linux": "bash with oneAPI",
"terminal.integrated.profiles.windows": {
"Command Prompt with oneAPI": {
"path": "cmd.exe",
"args": ["/k", "${config:oneapi.root.windows}/setvars.bat", "&&", "powershell"]
}
},
"terminal.integrated.profiles.linux": {
"bash with oneAPI": {
"path": "/bin/bash",
"args": ["-c", "source ${config:oneapi.root.linux}/setvars.sh && exec bash"]
}
},
"C_Cpp.intelliSenseEngine": "default",
"C_Cpp.errorSquiggles": "enabled",
"C_Cpp.autocomplete": "default",
"C_Cpp.formatting": "clangFormat",
"C_Cpp.clang_format_style": "{ BasedOnStyle: Google, IndentWidth: 2, TabWidth: 2, UseTab: Never, ColumnLimit: 100 }",
"C_Cpp.default.cppStandard": "c++20",
"C_Cpp.default.cStandard": "c17",
"C_Cpp.workspaceParsingPriority": "highest",
"C_Cpp.enhancedColorization": "enabled",
"C_Cpp.suggestSnippets": true,
"editor.formatOnSave": true,
"editor.formatOnType": true
}