Message: [Gate-users] Question about GPU tracking Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Angry [Gate-users] Question about GPU tracking 

Forum: Multithreading
Date: 04 Dec, 2014
From: John Parfen <John Parfen>

Dear all,

I simulate x-ray composition, type detector - Actor. There is incorrect results on GPU realization - all beams absorbed by phantom. With CPU its OK.

...

############
# Phantom #
############
/gate/world/daughters/name                      thorax
/gate/world/daughters/insert                    ImageNestedParametrisedVolume
/gate/geometry/setMaterialDatabase             data/Thorax-HUmaterials.db
/gate/thorax/geometry/SetHUToMaterialFile    data/zubal_hu2mat.txt
/gate/thorax/geometry/SetImage                 data/resampledTHORAX.mhd

/gate/thorax/placement/setTranslation 0 0 0 mm
/gate/thorax/placement/setRotationAxis 1 0 0.
/gate/thorax/placement/setRotationAngle -90 deg


############
# Source #
############
/gate/source/addSource xraygun
/gate/source/xraygun/gps/verbose 2
/gate/source/xraygun/gps/particle gamma
/gate/source/xraygun/gps/energytype Mono
/gate/source/xraygun/gps/monoenergy 75.00 keV
/gate/application/setTotalNumberOfPrimaries 1000
/gate/source/xraygun/gps/mintheta    0.  deg
/gate/source/xraygun/gps/maxtheta  0. deg
/gate/source/xraygun/gps/halfx 0.75 mm
/gate/source/xraygun/gps/halfy 0.75 mm
/gate/source/xraygun/gps/centre 0.0 0.0 -84.2 cm
/gate/source/xraygun/gps/angtype iso
/gate/source/list

############
# CT Image #
############
#/gate/output/imageCT/verbose 0
#/gate/output/imageCT/disable
#/gate/output/imageCT/setFileName benchmarkCT

/gate/random/setEngineName MersenneTwister
# count particle in detector, in 2D mhd
/gate/actor/addActor                 ParticleInVolumeActor counterOut
/gate/actor/counterOut/save          output-measured.mhd
/gate/actor/counterOut/attachTo      module
/gate/actor/counterOut/setResolution 600 600 1
/gate/actor/counterOut/saveEveryNSeconds   20

/gate/actor/addActor                 ParticleInVolumeActor counterPrim
/gate/actor/counterPrim/save          output-primary.mhd
/gate/actor/counterPrim/attachTo      module
/gate/actor/counterPrim/setResolution 600 600 1
/gate/actor/counterPrim/saveEveryNSeconds   20
/gate/actor/counterPrim/addFilter angleFilter
/gate/actor/counterPrim/angleFilter/setAngle 4.5 deg
/gate/actor/counterPrim/angleFilter/setDirection 0 0 1

# GPU Tracking ( When I disable it - all beams scatteres inside phantom without problem )
/gate/actor/addActor                  GPUTransTomoActor gpuactor
/gate/actor/gpuactor/attachTo         thorax
/gate/actor/gpuactor/setGPUDeviceID   0
/gate/actor/gpuactor/setGPUBufferSize 10000000

....

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 Warning: Re: [Gate-users] Question about GPU tracking   (Andrea Dotti - 04 Dec, 2014)
 Add Message Add Message
to: "[Gate-users] Question about GPU tracking"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews