Skip to content
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
wants to merge 126 commits into
base: morphogenesis
Choose a base branch
from

Conversation

NH89
Copy link
Owner

@NH89 NH89 commented Mar 14, 2024

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

NH89 added 30 commits September 22, 2020 18:33
Alpha working code for chemical diffusion
Diffusion is now scaled relative to distance between particles
Threading (latency hiding) demonstration
…iew volume visualization. 'Appended' binary .vtp files. Stable but slow at 1M particles.
… [gene][particle] for efficient read/write by kernels.
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants