06-04-2019 02:26 AM
Hi,
I compiled a working example of the unmodified Xilinx edge detection example in the Nimbix cloud.
It runs on the hardware, within SDx, and works.
Unfortunately, when running under command line, I got this error:
Creating Buffers... ERROR: std::bad_alloc ../src/edge.cpp:134 Error calling cl::Buffer devOutput(context, CL_MEM_USE_HOST_PTR | CL_MEM_WRITE_ONLY, ((img_size-1)/32 + 1)*sizeof(cl_uint16), outimage.data(), &err), error code is: -6
Any idea welcome.
06-04-2019 08:19 PM
This looks a general exception for allocating storage. Could it be due to small memory limit?
06-04-2019 08:19 PM
This looks a general exception for allocating storage. Could it be due to small memory limit?
06-05-2019 02:03 AM
Indeed, I was executing the host.exe, kernel and also the data file directly from the persistent storage on a cloud.
I had to transfer this stuff to the temporary workspace in order to make it work.
Thanks for your time.