-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Morphogenesis opencl - Edited launch of kernel insert_particles, to correct global_work_size. #5
Open
NH89
wants to merge
126
commits into
morphogenesis
Choose a base branch
from
morphogenesis_opencl
base: morphogenesis
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Changed concentration type to float
Alpha working code for chemical diffusion
Diffusion is now scaled relative to distance between particles
Threading (latency hiding) demonstration
…nb edits to CMakeLists.
…iew volume visualization. 'Appended' binary .vtp files. Stable but slow at 1M particles.
… [gene][particle] for efficient read/write by kernels.
…n from Remodelling. Updated demo.
…or simSpace to set SimParams.
Here the triangulated cubic freeze is commented out, and the heal() kernel is used to create initial bonds. See README.md for details of features and usage.
… -> buffer bin count. Still have problem at time step 15 causing loss of the reserve particles, followed by bin overflows in step 16 when building denselists of genes.
…ather than numpoints (ie inc inert/reserve) for physics kernels etc. Tested for simulations upto 10,000 particles & 200 time steps. Getting illegal memory access for simulations of 100,000 particles.
…eparating particleIdx and bondIdx elements. Now tetsted running 100,000 particles for 20 timesteps with ComputeParticleChangesCUDA () -> Heal() kernel.
…rected threads and blocks for dense lists(genes) and dense lists changes.
…even when they reah the edge of the simulation volume.
… on higher y-axis value particles, esp tissue blocks 4,5,6
… to start non-reciprocal branch to eliminate use of FPARTICLEIDX and tracking of incoming bonds.
…s damping creates lifelike behaviour.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
See my whatsapp message for details.
Compare with the launch of kernel compute_pressure(..) , which also runs one thread per particle.
The global work size should be the total number of threads launched, AND a whole number multiple of local work size.
The local work size depends on the particular GPU, so needs to be queried when setting up the opencl context.
BR
Nick