From e36182cd8c5dd5c6d0aa1f77cf5cdca87e8bb1f0 Mon Sep 17 00:00:00 2001
From: Joseph Redmon <pjreddie@gmail.com>
Date: Fri, 21 Nov 2014 23:35:19 +0000
Subject: [PATCH] cleaned up data parsing a lot. probably nothing broken?

---
 src/gemm.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/src/gemm.c b/src/gemm.c
index edffcaf..afeb46a 100644
--- a/src/gemm.c
+++ b/src/gemm.c
@@ -214,7 +214,7 @@
     const size_t global_size[] = {ceil((float)N/BLOCK)*BLOCK, ceil((float)M/BLOCK)*BLOCK};
     const size_t local_size[] = {BLOCK, BLOCK};
 
-    clEnqueueNDRangeKernel(queue, gemm_kernel, 2, 0, global_size, local_size, 0, 0, 0);
+    cl.error = clEnqueueNDRangeKernel(queue, gemm_kernel, 2, 0, global_size, local_size, 0, 0, 0);
     check_error(cl);
     #endif
 }
@@ -368,6 +368,7 @@
        test_gpu_accuracy(0,1,1000,10,100); 
        test_gpu_accuracy(1,1,1000,10,100); 
      */
+    time_ongpu(0,0,512,256,1152); 
     time_ongpu(0,0,128,1200,4096); 
     time_ongpu(0,0,128,1200,4096); 
     time_ongpu(0,0,128,1200,4096); 
@@ -377,6 +378,7 @@
     time_ongpu(1,0,4096,1200,128); 
     time_ongpu(1,0,1200,128,4096); 
 
+    test_gpu_accuracy(0,0,512,256,1152); 
     test_gpu_accuracy(0,0,131,4093,1199); 
     test_gpu_accuracy(0,1,131,4093,1199); 
     test_gpu_accuracy(1,0,131,4093,1199); 

--
Gitblit v1.10.0