Sure seems to have some bugs in the repo script.
Correction: Saving the repo from the link doesn't corrupt the script. Now it works.
Close but no cigar:
[ 97%] Built target ocml_bc
In file included from /home/mdriftmeyer/bin/opencl/runtime/platform/command.hpp:26:0,
from /home/mdriftmeyer/bin/opencl/runtime/device/rocm/rocdevice.hpp:11,
from /home/mdriftmeyer/bin/opencl/runtime/device/rocm/rocmemory.hpp:11,
from /home/mdriftmeyer/bin/opencl/runtime/device/rocm/rocmemory.cpp:15:
/home/mdriftmeyer/bin/opencl/runtime/platform/perfctr.hpp:27:50: warning: ignoring attributes on template argument ‘cl_perfcounter_property {aka long unsigned int}’ [-Wignored-attributes]
typedef std::map<cl_perfcounter_property, ulong> Properties;
^
In file included from /home/mdriftmeyer/bin/opencl/runtime/device/rocm/rocdevice.hpp:11:0,
from /home/mdriftmeyer/bin/opencl/runtime/device/rocm/rocmemory.hpp:11,
from /home/mdriftmeyer/bin/opencl/runtime/device/rocm/rocmemory.cpp:15:
/home/mdriftmeyer/bin/opencl/runtime/platform/command.hpp:61:33: warning: ignoring attributes on template argument ‘amd::Event::CallBackFunction {aka void (*)(_cl_event*, int, void*)}’ [-Wignored-attributes]
std::atomic<CallBackFunction> callback_; //!< callback function pointer.
^
/home/mdriftmeyer/bin/opencl/runtime/device/rocm/rocmemory.cpp: In member function ‘void roc::Memory::syncCacheFromHost(roc::VirtualGPU&, device::Memory::SyncFlags)’:
/home/mdriftmeyer/bin/opencl/runtime/device/rocm/rocmemory.cpp:384:5: error: ‘wait’ was not declared in this scope
wait(gpu);
^~~~
/home/mdriftmeyer/bin/opencl/runtime/device/rocm/rocmemory.cpp:384:5: note: suggested alternative: ‘write’
wait(gpu);
^~~~
write
runtime/device/rocm/CMakeFiles/oclrocm.dir/build.make:240: recipe for target 'runtime/device/rocm/CMakeFiles/oclrocm.dir/rocmemory.cpp.o' failed
make[2]: *** [runtime/device/rocm/CMakeFiles/oclrocm.dir/rocmemory.cpp.o] Error 1
CMakeFiles/Makefile2:23207: recipe for target 'runtime/device/rocm/CMakeFiles/oclrocm.dir/all' failed
make[1]: *** [runtime/device/rocm/CMakeFiles/oclrocm.dir/all] Error 2
Makefile:151: recipe for target 'all' failed
make: *** [all] Error 2
mdriftmeyer@horus:~/bin/build$
Ideas?
Correction: Saving the repo from the link doesn't corrupt the script. Now it works.
Close but no cigar:
[ 97%] Built target ocml_bc
In file included from /home/mdriftmeyer/bin/opencl/runtime/platform/command.hpp:26:0,
from /home/mdriftmeyer/bin/opencl/runtime/device/rocm/rocdevice.hpp:11,
from /home/mdriftmeyer/bin/opencl/runtime/device/rocm/rocmemory.hpp:11,
from /home/mdriftmeyer/bin/opencl/runtime/device/rocm/rocmemory.cpp:15:
/home/mdriftmeyer/bin/opencl/runtime/platform/perfctr.hpp:27:50: warning: ignoring attributes on template argument ‘cl_perfcounter_property {aka long unsigned int}’ [-Wignored-attributes]
typedef std::map<cl_perfcounter_property, ulong> Properties;
^
In file included from /home/mdriftmeyer/bin/opencl/runtime/device/rocm/rocdevice.hpp:11:0,
from /home/mdriftmeyer/bin/opencl/runtime/device/rocm/rocmemory.hpp:11,
from /home/mdriftmeyer/bin/opencl/runtime/device/rocm/rocmemory.cpp:15:
/home/mdriftmeyer/bin/opencl/runtime/platform/command.hpp:61:33: warning: ignoring attributes on template argument ‘amd::Event::CallBackFunction {aka void (*)(_cl_event*, int, void*)}’ [-Wignored-attributes]
std::atomic<CallBackFunction> callback_; //!< callback function pointer.
^
/home/mdriftmeyer/bin/opencl/runtime/device/rocm/rocmemory.cpp: In member function ‘void roc::Memory::syncCacheFromHost(roc::VirtualGPU&, device::Memory::SyncFlags)’:
/home/mdriftmeyer/bin/opencl/runtime/device/rocm/rocmemory.cpp:384:5: error: ‘wait’ was not declared in this scope
wait(gpu);
^~~~
/home/mdriftmeyer/bin/opencl/runtime/device/rocm/rocmemory.cpp:384:5: note: suggested alternative: ‘write’
wait(gpu);
^~~~
write
runtime/device/rocm/CMakeFiles/oclrocm.dir/build.make:240: recipe for target 'runtime/device/rocm/CMakeFiles/oclrocm.dir/rocmemory.cpp.o' failed
make[2]: *** [runtime/device/rocm/CMakeFiles/oclrocm.dir/rocmemory.cpp.o] Error 1
CMakeFiles/Makefile2:23207: recipe for target 'runtime/device/rocm/CMakeFiles/oclrocm.dir/all' failed
make[1]: *** [runtime/device/rocm/CMakeFiles/oclrocm.dir/all] Error 2
Makefile:151: recipe for target 'all' failed
make: *** [all] Error 2
mdriftmeyer@horus:~/bin/build$
Ideas?
Comment