]> foleosoft.com Git - QAnsel.git/commitdiff
Thu Mar 7 08:28:25 PM EST 2024
authormiha-q <>
Fri, 8 Mar 2024 01:28:25 +0000 (20:28 -0500)
committermiha-q <>
Fri, 8 Mar 2024 01:28:25 +0000 (20:28 -0500)
src/complex.c

index c83e8a656e4fef8e17d9623a7b29fe7a17b926c3..722eef4341e2d9ffe89578cc9f55fb46413a5bea 100644 (file)
@@ -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;