Comments (1)
The problem came from the generated make file missing target file name for the cash.json,.
out/Windows32/Release/libcldnn_kernel_selector32.a: kernel_selector/CMakeFiles/cldnn_kernel_selector.dir/link.txt
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --bold --progress-dir=/D/clDNN/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_249) "Linking CXX static library ../out/Windows32/Release/libcldnn_kernel_selector32.a"
cd /D/clDNN/build/kernel_selector && $(CMAKE_COMMAND) -P CMakeFiles/cldnn_kernel_selector.dir/cmake_clean_target.cmake
cd /D/clDNN/build/kernel_selector && $(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/cldnn_kernel_selector.dir/link.txt --verbose=$(VERBOSE)
cd /D/clDNN/build/kernel_selector && /C/msys64/mingw64/bin/cmake.exe -E copy_if_different D:/clDNN/kernel_selector/core/cache/cache.json D:/clDNN/build/out/Windows32/Release/Release**/cache.json**
D:\clDNN\kernel_selector\CMakeLists.txt
Change as following.
add_custom_command(
TARGET "${CLDNN_BUILD__PROJ}" POST_BUILD
COMMAND ${CMAKE_COMMAND} -E copy_if_different
${__CLDNN_Directory__core}/cache/cache.json
${CLDNN_CACHE_PATH}/cache.json)
After changing it, it generate a new error
$ make
[ 0%] Linking CXX static library ../out/Windows32/Release/libcldnn_kernel_selector32.a
[ 37%] Built target cldnn_kernel_selector
[ 37%] Updating file if the file changed (api_c_test.c) ...
[ 37%] Updating file if the file changed (api_cpp_test.cpp) ...
Scanning dependencies of target api_test_builds
[ 37%] Building CXX object api_test_builds/CMakeFiles/api_test_builds.dir//codegen/Release/test_builds/api_cpp_test.cpp.obj
[ 37%] Building C object api_test_builds/CMakeFiles/api_test_builds.dir//codegen/Release/test_builds/api_c_test.c.obj
[ 37%] Linking CXX static library ../codegen/out/libapi_test_builds32.a
[ 37%] Built target api_test_builds
Scanning dependencies of target clDNN_shlib
[ 37%] Building CXX object src/CMakeFiles/clDNN_shlib.dir/graph_optimizer/add_required_reorders.cpp.obj
In file included from D:/clDNN/src/include/layout_optimizer.h:31,
from D:/clDNN/src/include/pass_manager.h:20,
from D:/clDNN/src/graph_optimizer/add_required_reorders.cpp:21:
D:/clDNN/src/include/generic_layer.hpp: In constructor 'cldnn::generic_layer::generic_layer(const dto*)':
D:/clDNN/src/include/generic_layer.hpp:64:111: error: type qualifiers ignored on cast result type [-Werror=ignored-qualifiers]
, generic_params(static_cast<const kernel_selector::generic_kernel_params const>(dto->generic_params))
^
cc1plus.exe: all warnings being treated as errors
make[2]: *** [src/CMakeFiles/clDNN_shlib.dir/build.make:63: src/CMakeFiles/clDNN_shlib.dir/graph_optimizer/add_required_reorders.cpp.obj] Error 1
make[1]: *** [CMakeFiles/Makefile2:92: src/CMakeFiles/clDNN_shlib.dir/all] Error 2
make: *** [Makefile:130: all] Error 2
from cldnn.
Related Issues (20)
- corei7 8750H support? HOT 5
- Errors in GPU device IDs HOT 1
- Drop 12.0 does not work with OpenVINO R4 HOT 1
- clDNNPlugin R5 cannot be built with clDNN Drop 12.1 without graphics driver installed HOT 3
- Building on ClearLinux Fails HOT 3
- System error HOT 1
- clDNN makes [bad] assumptions about c++ runtime
- use CMAKE_BINARY_DIR appropriately
- make tag for release
- How to set the size of weights memory when convolution‘s groups is not equal to 1. HOT 1
- ONNXIFI wrapper
- Is there any case to verify depthwise convolution in CLDNN?
- Is there any case to verify depthwise convolution in CLDNN?
- Missing include HOT 1
- Value stored to 'input_block_array_size' during its initialization is never read
- Function 'is_power_of_two()', which defined in an anonymous namespace, is never used
- Can I use it in Upboard or upcore chip
- Could clDNN be compiled for armv7l ?
- How can I benchmark, say a GEMM, in clDNN
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cldnn.