Add functions to export objects from dipole::internal namespace#59
Open
am1808 wants to merge 24 commits into
Open
Add functions to export objects from dipole::internal namespace#59am1808 wants to merge 24 commits into
am1808 wants to merge 24 commits into
Conversation
…when GPU is active. Modify transfer function to transfer both B and H dipolar fields.
Move initialisation of gpu before dipole::initialize in sim.cpp Call initialisation of GPU dipole in initialisation of CPU dipole with flag Fix bug in update field loop for i_1Dindex counter
Double precision calculations left out in some places on the host. Rely on the implicit casting.
Add function to copy cells dipole fields from GPU to CPU
Introduced and intermediate buffer to copy the data and do the host DP to host SP conversion if necessary.
Add missing update of atomic demag field.
Moved the necessary values to size_t to avoid cusparse erroring out. Code now produces what looks like correct and consistent results between SP and DP.
initialisation functions.
For llg_heun_corrector_step moved update to the kernel. Overall performance increase event though the kernel is a bit slower (~10%), but bigger gain than that from removing DtoD copy. For cusparse, use a large d_spin and d_spin_field array and usei separate pointers to access x, y and z compoments.
…dipole_merge_cudaSPDP
This file contains hidden or 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
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.
No description provided.