]> foleosoft.com Git - QAnsel.git/commitdiff
Sun Mar 3 01:13:30 AM EST 2024
authormiha-q <>
Sun, 3 Mar 2024 06:13:30 +0000 (01:13 -0500)
committermiha-q <>
Sun, 3 Mar 2024 06:13:30 +0000 (01:13 -0500)
src/gpu/gpu.c

index 02463a3e326cc1aa3c4cec47459d296303df7b5e..ad8b946cab49d45c7bc3b8b1f8999a60462c1118 100644 (file)
@@ -132,9 +132,13 @@ void GPU_mmul(float* ptrR, float* ptrA, float* ptrB, size_t rowsA, size_t colsB,
                        free(log);
                        exit(1);
                }
+               printf("a\n");
                clGetProgramInfo(program, CL_PROGRAM_BINARY_SIZES, sizeof(size_t), &GPU_mmul_cache_len, NULL);
+               printf("b\n");
                GPU_mmul_cache = malloc(GPU_mmul_cache_len);
+               printf("c\n");
                clGetProgramInfo(program, CL_PROGRAM_BINARIES, sizeof(unsigned char*), &GPU_mmul_cache, NULL);
+               printf("d\n");
        }
        else
        {