You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 10, 2023. It is now read-only.
I'm trying to build OpenVINO 2018 R5 with Drop 12.1 (since Intel's distribution contains an earlier version of clDNN, like something before Drop 11, which features a horrendous memory leak).
Due to absence of Intel Graphics on my CPU the graphics driver refuses to install, which result in a clDNNPlugin linking error to OpenCL.lib.
while it sets OpenCL.lib as a public link library, it does not propagate corresponding link directory to consumers in the same way (I'm not sure what happens to link_directories from the root script, though it is not respected by OpenVINO's scripts, and I don't think it's a good practice to propagate target's dependencies via include_directories, link_directories and similar global commands).
I'm not sure if it's the best place for a fix (moreover I think it would be better to create an import target for OpenCL), though it definitely resolves the link issue:
The text was updated successfully, but these errors were encountered:
emptyVoid
changed the title
clDNNPlugin R5 cannot be built with cvDNN Drop 12.1 without graphics driver installed
clDNNPlugin R5 cannot be built with clDNN Drop 12.1 without graphics driver installed
Jan 23, 2019
Could be a new one.
We've done some long-run tests for 5 different networks with R5 + Drop 12.1 (and R4 + Drop 12 before that) and the memory footprint stayed the same.
I'm trying to build
OpenVINO 2018 R5
withDrop 12.1
(since Intel's distribution contains an earlier version ofclDNN
, like something beforeDrop 11
, which features a horrendous memory leak).Due to absence of Intel Graphics on my CPU the graphics driver refuses to install, which result in a
clDNNPlugin
linking error toOpenCL.lib
.I've traced the issue to
clDNN
's build script:clDNN/src/CMakeLists.txt
Lines 234 to 239 in f91d7d8
while it sets
OpenCL.lib
as a public link library, it does not propagate corresponding link directory to consumers in the same way (I'm not sure what happens tolink_directories
from the root script, though it is not respected byOpenVINO
's scripts, and I don't think it's a good practice to propagate target's dependencies viainclude_directories
,link_directories
and similar global commands).I'm not sure if it's the best place for a fix (moreover I think it would be better to create an import target for
OpenCL
), though it definitely resolves the link issue:The text was updated successfully, but these errors were encountered: