OverviewFilesCommitsIssuesDocsReleasesPeers

opencog-CompactHash commits / 2504ef9

Fixing hash opt 3 gpu version -- missing hash init to -1
2504ef945e9ad55e90f96cf481bfed0498bfa808
by brobey <brobey@lanl.gov> · 2019-04-14T05:20:14.000Z

Changed files (1) +1 -1

neigh2d.c +1 -1
……@@ -2620,7 +2620,7 @@ cl_mem neighbors2d_hashgpu_opt_3( uint ncells, int mesh_size, int levmx, cl_mem
26202620 if(DETAILED_TIMING) GPUTime = 0;
26212621
26222622 //Create Hash Table
2623 hash_buffer = hash_init(hash_size, TILE_SIZE, 0, context, queue, &GPUTime);
2623 hash_buffer = hash_init(hash_size, TILE_SIZE, 1, context, queue, &GPUTime);
26242624
26252625 if(DETAILED_TIMING) createGPUTime = (double)(GPUTime)*1.0e-9;
26262626 if(DETAILED_TIMING) cpu_timer_start(&tSection);