When using the OpenCL backend, my application dies with the error: libc++abi.dylib: terminating with uncaught exception of type viennacl::ocl::invalid_buffer_size: ViennaCL: FATAL ERROR: CL_INVALID_BUFFER_SIZE. If you think that this is a bug in ViennaCL, please report it at viennacl-supp...@lists.sourceforge.net and supply at least the following information: * Operating System * Which OpenCL implementation (AMD, NVIDIA, etc.) * ViennaCL version Many thanks in advance! (lldb)
I use the Apple OpenCL implementation on MacOSX 10.9. It happens when I initialize a quite big matrix (about 10k \times 10k in size). Backtrace: 8 a.out 0x0000000102d56951 viennacl::ocl::error_checker<void>::raise_exception(int) + 4465 (error.hpp:564) 9 a.out 0x0000000102d557cb viennacl::ocl::error_checker<void>::checkError(int, char const*, char const*, int) + 43 (error.hpp:599) 10 a.out 0x0000000102d9ee73 viennacl::ocl::context::create_memory_without_smart_handle(unsigned long long, unsigned int, void*) const + 131 (context.hpp:184) 11 a.out 0x0000000102d9edde viennacl::backend::opencl::memory_create(viennacl::ocl::context const&, unsigned long, void const*) + 62 (opencl.hpp:58) 12 a.out 0x0000000102d9da71 viennacl::backend::memory_create(viennacl::backend::mem_handle&, unsigned long, viennacl::context const&, void const*) + 465 (memory.hpp:102) 13 a.out 0x0000000102d9d7e2 viennacl::matrix_base<float, viennacl::row_major, unsigned long, long>::matrix_base(unsigned long, unsigned long, viennacl::context) + 242 (matrix.hpp:260) 14 a.out 0x0000000102d9d6de viennacl::matrix<float, viennacl::row_major, 1u>::matrix(unsigned long, unsigned long, viennacl::context) + 78 (matrix.hpp:757) 15 a.out 0x0000000102d4ef53 viennacl::matrix<float, viennacl::row_major, 1u>::matrix(unsigned long, unsigned long, viennacl::context) + 51 (matrix.hpp:757) ------------------------------------------------------------------------------ Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk _______________________________________________ ViennaCL-devel mailing list ViennaCL-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/viennacl-devel