Browse Source

Added run script for gpu for hotspot benchmark

Added the run script for hostspot benchmark and fixed a parameter for
correct handling by the odroid GPU
Andrea Gussoni 8 năm trước cách đây
mục cha
commit
bd3c0d8b8a
2 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 1 1
      opencl/hotspot/hotspot.h
  2. 1 0
      opencl/hotspot/run-gpu

+ 1 - 1
opencl/hotspot/hotspot.h

@@ -18,7 +18,7 @@
 #elif defined(RD_WG_SIZE)                                                        
         #define BLOCK_SIZE RD_WG_SIZE                                            
 #else                                                                                    
-        #define BLOCK_SIZE 16                                                            
+        #define BLOCK_SIZE 8                                                            
 #endif                                                                                   
 
 #define STR_SIZE 256

+ 1 - 0
opencl/hotspot/run-gpu

@@ -0,0 +1 @@
+./hotspot 512 3 1000  ../../data/hotspot/temp_512 ../../data/hotspot/power_512 output.out