Running some of the routines (e.g. asum, nrm2) in a for-loop with increasing vector sizes eventually causes the program to exit with OpenCL error -34 (CL_INVALID_CONTEXT). It is probably an indication of a memory leak and might have something to do with the scratch buffers, as axpy works as expected.
Running some of the routines (e.g.
asum,nrm2) in a for-loop with increasing vector sizes eventually causes the program to exit with OpenCL error -34 (CL_INVALID_CONTEXT). It is probably an indication of a memory leak and might have something to do with the scratch buffers, asaxpyworks as expected.