summaryrefslogtreecommitdiff
path: root/gputhread.py
AgeCommit message (Collapse)Author
2011-07-20pulled a lot of the photon propagation code out of src/kernel.cu into ↵Anthony LaTorre
src/photon.h so that photon propagation by propagate() in kernel.cu and the hybrid monte carlo ray tracing use the same code. instead of a single state, photons now carry the history of the processes they've undergone. this history is stored as a bitmask; see src/photon.h. start_node and first_node of the mesh are now stored as global variables in mesh.h instead of being passed to kernel functions.
2011-07-10added a hybrid monte carlo ray tracing rendering algorithmAnthony LaTorre
2011-06-24argument '-j' to threadtest.py now specifies a list of device ids to be ↵Anthony LaTorre
used. GPUThread objects now shallow copy the geometry so that threads are not writing to the same memory when the geometry is loaded onto the gpu. the model number for the 12" Hamamatsu PMT is R11708, not r7081 (which is the model for the 10" PMT); all references to the 12" PMT were changed accordingly. only allocate space for 20 materials and 20 surfaces on the gpu instead of 100 to save some space. started to modify track.py to build its own photons and module since the GPUThread object only copies photon hit times back from the gpu (not track information), but I am waiting to find out if pycuda GPUArrays can be used with vector types.
2011-06-23move photon initialization to the gpu. it's unclear if this is a speed ↵Anthony LaTorre
improvement.
2011-06-21A GPU-side "DAQ" implementation that identifies the first photon on each ↵Stan Seibert
channel, which is presumed to trigger that channel. Major speed up in conversion of detection times to time PDFs.
2011-06-18change curandstate array length to 100,000. gputhread.run() now correctly ↵Anthony LaTorre
initializes ALL of the states.
2011-06-18forgot to initialize gpu random number states in gputhread.run()Anthony LaTorre
2011-06-17visually tested optics code. added models of the inner and outer meshes for ↵Anthony LaTorre
the 12" hamamatsu and sno pmts. ratdb.py is able to parse ratdb files. chromaticity.py provides a function to map wavelength -> rgb color. lbne detector model now includes an outer black cylinder and pmts with a glass layer and photocathode/reflective surfaces.
2011-06-02triangle mesh is now stored everywhere as a split list of vertices and trianglesAnthony LaTorre
2011-05-31you can now specify block size for a gputhreadAnthony LaTorre
2011-05-23lbne model now imports python modules directlyAnthony LaTorre
2011-05-22gpu threadsAnthony LaTorre