diff options
| author | Anthony LaTorre <telatorre@gmail.com> | 2011-05-09 14:51:42 -0400 |
|---|---|---|
| committer | Anthony LaTorre <telatorre@gmail.com> | 2011-05-09 14:51:42 -0400 |
| commit | 34c57af59b8baac89b9fdc0b5ac964a4c67bd32d (patch) | |
| tree | e4cc55289e3f3f4d1e9208e18f006b72cbd8c598 /test.py | |
| parent | aa1a149dab6c8e3d3a89488b26c3647f61d91778 (diff) | |
| download | chroma-34c57af59b8baac89b9fdc0b5ac964a4c67bd32d.tar.gz chroma-34c57af59b8baac89b9fdc0b5ac964a4c67bd32d.tar.bz2 chroma-34c57af59b8baac89b9fdc0b5ac964a4c67bd32d.zip | |
pull triangle vertices in kernel function
Diffstat (limited to 'test.py')
| -rw-r--r-- | test.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -71,7 +71,7 @@ for i in range(100): rotate(np.int32(p.size), p_gpu, np.float32(np.pi/100), gpuarray.vec.make_float3(0,0,1), block=(256,1,1), grid=(width*height//256+1,1)) t0 = time.time() - intersect(np.int32(x.size), x_gpu, p_gpu, np.int32(mesh.size//3), mesh_gpu, pixel_gpu, block=(128,1,1), grid=(width*height//128+1,1)) + intersect(np.int32(x.size), x_gpu, p_gpu, np.int32(mesh.size//3), mesh_gpu, pixel_gpu, block=(64,1,1), grid=(width*height//64+1,1)) cuda.Context.synchronize() elapsed = time.time() - t0 |
