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
When I run the following command:
$ cmake -H. -Brelease
-Ddriver=nouveau
-Duser=ON
-Druntime=ON
-Dusched=OFF
-Duse_as=OFF
-DCMAKE_BUILD_TYPE=Release
$ make -C release
I get the following error:
$ dev/cuda/runtime/ocelot/analysis/implementation/ControlTree.cpp:878:21: error: use of deleted function ‘void boost::ref(const T&&) [with T = analysis::ControlTree*]’
boost::ref(this), _1, _2));
^
In file included from /usr/include/boost/ref.hpp:15:0,
from /usr/include/boost/bind/bind.hpp:25,
from /usr/include/boost/bind.hpp:22,
from gdev/cuda/runtime/ocelot/analysis/implementation/ControlTree.cpp:22:
/usr/include/boost/core/ref.hpp:174:24: note: declared here
template void ref(T const&&) BOOST_REF_DELETE;
I have "libboost1.58-dev" installed (I am using Ubuntu 16.04). Are you using a different version for your test build?
Activity
[-]Can't find "nouveau.h"[/-][+]Error on build: Use of deleted function[/+]sakjain92 commentedon Apr 2, 2018
Found the issue: I was using an old version of code
Please update "https://github.com/CPFL/gdev/blob/master/docs/README.cmake.md"
git://github.com/shinpei0208/gdev.git is not compiling (the code is not up-to-date)
git://github.com/CPFL/gdev.git works!
sakjain92 commentedon Apr 2, 2018
Can you help me with this issue:
When I run the following commands:
$make
$./user_test 256 # a[256] + b[256] = c[256]
I get the error:
block = (16, 16)
grid = (16, 16)
[gdev] Failed to open gdev0
cuCtxCreate failed: res = 999
Test failed
It seems gdev driver is not loaded. Can you tell me what to do for this?