diff options
author | Stan Seibert <stan@mtrr.org> | 2011-08-11 14:20:59 -0400 |
---|---|---|
committer | Stan Seibert <stan@mtrr.org> | 2011-08-11 14:20:59 -0400 |
commit | f184de9a5ab72188e03149a7d63a7d0da00a868e (patch) | |
tree | 37b32b9117359ea32eaecaa87c7c779611be7606 | |
parent | 6310592deb66d75f473c63fe286187ca41dae0f6 (diff) | |
download | chroma-f184de9a5ab72188e03149a7d63a7d0da00a868e.tar.gz chroma-f184de9a5ab72188e03149a7d63a7d0da00a868e.tar.bz2 chroma-f184de9a5ab72188e03149a7d63a7d0da00a868e.zip |
Show number of registers used in CUDA kernels
-rw-r--r-- | gpu.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -72,7 +72,7 @@ class GPU(object): device = cuda.Device(device_id) self.context = device.make_context() print 'device %s' % self.context.get_device().name() - cuda_options = ['-I' + src.dir, '--use_fast_math'] + cuda_options = ['-I' + src.dir, '--use_fast_math', '--ptxas-options=-v'] self.module = SourceModule(src.kernel, options=cuda_options, no_extern_c=True) self.geo_funcs = CUDAFuncs(self.module, ['set_wavelength_range', 'set_material', 'set_surface', 'set_global_mesh_variables', 'color_solids']) |