From f3d3182e3aa56e2dbf9c82139b54fbc995dd3315 Mon Sep 17 00:00:00 2001 From: miha-q <> Date: Sun, 3 Mar 2024 23:05:34 -0500 Subject: [PATCH] Sun Mar 3 11:05:34 PM EST 2024 --- src/QAnsel.c | 4 ++-- src/gpu/gpu_test.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/QAnsel.c b/src/QAnsel.c index cb5f0c3..700b1ae 100644 --- a/src/QAnsel.c +++ b/src/QAnsel.c @@ -16,8 +16,8 @@ uint8_t USE_GPU = 0; #define CL_USE_DEPRECATED_OPENCL_1_2_APIS #define CL_TARGET_OPENCL_VERSION 120 #include -#include "gpu/gpu.c" -//#include "gpu/gpu_test.c" +//#include "gpu/gpu.c" +#include "gpu/gpu_test.c" #endif typedef struct diff --git a/src/gpu/gpu_test.c b/src/gpu/gpu_test.c index 68d8baa..be67be8 100644 --- a/src/gpu/gpu_test.c +++ b/src/gpu/gpu_test.c @@ -27,7 +27,7 @@ void GPU_mmul(float* ptrR, float* ptrA, float* ptrB, size_t rowsA, size_t colsB, } } -void GPU_knk(float* ptrR, size_t rowsR, size_t colsR, float* ptrA, size_t rowsA, size_t colsA, float* ptrB, size_t rowsB, size_t colsB) +void GPU_knk(float* ptrR, int rowsR, int colsR, float* ptrA, int rowsA, int colsA, float* ptrB, int rowsB, int colsB) { for (int i = 0; i < rowsR; i++) { -- 2.39.5