From: miha-q <> Date: Fri, 8 Mar 2024 01:28:25 +0000 (-0500) Subject: Thu Mar 7 08:28:25 PM EST 2024 X-Git-Url: http://www.foleosoft.com/?a=commitdiff_plain;h=c892d3a603352cbcec2c0cdb360962c299bbdd19;p=QAnsel.git Thu Mar 7 08:28:25 PM EST 2024 --- diff --git a/src/complex.c b/src/complex.c index c83e8a6..722eef4 100644 --- a/src/complex.c +++ b/src/complex.c @@ -589,10 +589,12 @@ void cpx_mtx_knk_metal(float* ptrR, float* ptrA, float* ptrB, int rowsA, int col cl_mem memR = clCreateBuffer(cpx_mtx_context, CL_MEM_WRITE_ONLY, sizeR, NULL, &err); gpuerr(err); //Populate buffers + unsigned long long int q = get_time(); err = clEnqueueWriteBuffer(cpx_mtx_command_queue, memA, CL_TRUE, 0, sizeA, ptrA, 0, NULL, NULL); gpuerr(err); err = clEnqueueWriteBuffer(cpx_mtx_command_queue, memB, CL_TRUE, 0, sizeB, ptrB, 0, NULL, NULL); gpuerr(err); + printf("%lu!!!!\n", get_time() - q); //Load and compile program cl_program program;