diff options
author | Anthony LaTorre <tlatorre9@gmail.com> | 2011-08-09 16:55:11 -0400 |
---|---|---|
committer | Anthony LaTorre <tlatorre9@gmail.com> | 2011-08-09 16:55:11 -0400 |
commit | 851e1d71af111e1eee0f28ecd1daa355ee666da7 (patch) | |
tree | 22743085952f17412fbb16df0ca06a0ce9bbdc5c | |
parent | 6870f1f5695c7cca3ed8e0a1cf559245991c80b5 (diff) | |
download | chroma-851e1d71af111e1eee0f28ecd1daa355ee666da7.tar.gz chroma-851e1d71af111e1eee0f28ecd1daa355ee666da7.tar.bz2 chroma-851e1d71af111e1eee0f28ecd1daa355ee666da7.zip |
fix variable name in GPU.color_solids()
-rw-r--r-- | gpu.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -186,7 +186,7 @@ class GPU(object): solid_ids_gpu = gpuarray.to_gpu(np.array(solid_ids, dtype=np.int32)) solid_colors_gpu = gpuarray.to_gpu(np.array(colors, dtype=np.uint32)) - self.geo_funcs.color_solids(np.int32(solid_ids_gpu.size), np.uint32(self.triangles_gpu.size), self.solid_id_map_gpu, solid_ids_gpu, solid_colors_gpu, block=(self.nblock,1,1), grid=(solid_ids_gpu.size//self.nthread_per_block+1,1)) + self.geo_funcs.color_solids(np.int32(solid_ids_gpu.size), np.uint32(self.triangles_gpu.size), self.solid_id_map_gpu, solid_ids_gpu, solid_colors_gpu, block=(self.nthread_per_block,1,1), grid=(solid_ids_gpu.size//self.nthread_per_block+1,1)) self.context.synchronize() def setup_propagate(self, seed=1): |