Skip to content

Commit

Permalink
Improve comment about mol_charges array
Browse files Browse the repository at this point in the history
  • Loading branch information
LSchwiebert committed Sep 1, 2024
1 parent 640e743 commit 417ba24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/GPU/ConstantDefinitionsCUDAKernel.cu
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ void InitCoordinatesCUDA(VariablesCUDA *vars, uint maxAtomNumber,
CUMALLOC((void **)&vars->gpu_z, maxAtomNumber * sizeof(double));

// gpu_molCharge is used for a subset of the particles;
// gpu_particleCharge is used for all the particles
// gpu_particleCharge is used for all the particles and is loaded only once
CUMALLOC((void **)&vars->gpu_molCharge, maxAtomNumber * sizeof(double));
CUMALLOC((void **)&vars->gpu_particleCharge, maxAtomNumber * sizeof(double));
CUMALLOC((void **)&vars->gpu_particleKind, maxAtomNumber * sizeof(int));
Expand Down

0 comments on commit 417ba24

Please sign in to comment.