Skip to content

Commit

Permalink
check F16,BF16 for default developing
Browse files Browse the repository at this point in the history
  • Loading branch information
KowerKoint authored and KowerKoint committed Jan 31, 2025
1 parent 5688d9b commit abaf8ff
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .devcontainer/cpu/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"/usr/include/python3.10"
],
"C_Cpp.default.cppStandard": "c++23",
"C_Cpp.default.defines": ["SCALUQ_FLOAT32", "SCALUQ_FLOAT64"]
"C_Cpp.default.defines": ["SCALUQ_FLOAT16", "SCALUQ_FLOAT32", "SCALUQ_FLOAT64", "SCALUQ_BFLOAT16", "SCALUQ_USE_NANOBIND"]
},
// Add the IDs of extensions you want installed when the container is created.
"extensions": [
Expand Down
2 changes: 1 addition & 1 deletion .devcontainer/gpu/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"/usr/include/python3.10"
],
"C_Cpp.default.cppStandard": "c++23",
"C_Cpp.default.defines": ["SCALUQ_FLOAT32", "SCALUQ_FLOAT64"]
"C_Cpp.default.defines": ["SCALUQ_FLOAT16", "SCALUQ_FLOAT32", "SCALUQ_FLOAT64", "SCALUQ_BFLOAT16", "SCALUQ_USE_NANOBIND"]
},
// Add the IDs of extensions you want installed when the container is created.
"extensions": [
Expand Down
2 changes: 2 additions & 0 deletions script/configure_dev
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,7 @@ set -eux
export CMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE:-"Debug"}
export SCALUQ_USE_TEST=${SCALUQ_USE_TEST:-"ON"}
export SCALUQ_USE_EXE=${SCALUQ_USE_EXE:-"ON"}
export SCALUQ_FLOAT16=${SCALUQ_FLOAT16:-"ON"}
export SCALUQ_BFLOAT16=${SCALUQ_BFLOAT16:-"ON"}

script/configure

0 comments on commit abaf8ff

Please sign in to comment.