Updated to have top level makefile
This commit is contained in:
parent
4f1c46b9ae
commit
ecc9a1e273
3 changed files with 6 additions and 19 deletions
17
.gitignore
vendored
17
.gitignore
vendored
|
|
@ -177,21 +177,6 @@ external/boost/
|
|||
tmp/
|
||||
|
||||
# CMake
|
||||
CMakeLists.txt.user
|
||||
CMakeCache.txt
|
||||
CMakeFiles/
|
||||
CMakeScripts
|
||||
cmake_install.cmake
|
||||
install_manifest.txt
|
||||
compile_commands.json
|
||||
CTestTestfile.cmake
|
||||
_deps
|
||||
|
||||
Makefile
|
||||
*.vcxproj
|
||||
*.vcxproj.filters
|
||||
*.vcxproj.user
|
||||
Win32/
|
||||
Debug/
|
||||
build/
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -16,9 +16,11 @@ VCPKG=/c/Users/axsau/Programming/lib/vcpkg/vcpkg
|
|||
####### Main Target Rules #######
|
||||
|
||||
run_cmake:
|
||||
cmake \
|
||||
wcmake \
|
||||
-Bbuild \
|
||||
-DCMAKE_TOOLCHAIN_FILE=C:\\Users\\axsau\\Programming\\lib\\vcpkg\\scripts\\buildsystems\\vcpkg.cmake \
|
||||
-DCMAKE_EXPORT_COMPILE_COMMANDS=1
|
||||
-DCMAKE_EXPORT_COMPILE_COMMANDS=1 \
|
||||
-G "Visual Studio 16 2019"
|
||||
|
||||
build: clean build_shaders
|
||||
$(CC) \
|
||||
2
src/Tensor.cpp
Normal file → Executable file
2
src/Tensor.cpp
Normal file → Executable file
|
|
@ -18,7 +18,7 @@ Tensor::Tensor(std::vector<uint32_t> data, TensorTypes tensorType)
|
|||
SPDLOG_DEBUG("Kompute Tensor constructor data: {}, and type: {}", data, tensorType);
|
||||
|
||||
this->mData = data;
|
||||
this->mShape = { data.size() };
|
||||
this->mShape = { static_cast<uint32_t>(data.size()) };
|
||||
this->mTensorType = tensorType;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue