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

Allow linlog to be used. #6

Open
govertb opened this issue Jan 27, 2018 · 3 comments
Open

Allow linlog to be used. #6

govertb opened this issue Jan 27, 2018 · 3 comments
Assignees

Comments

@govertb
Copy link
Owner

govertb commented Jan 27, 2018

No description provided.

@govertb govertb self-assigned this Jan 27, 2018
@jeremiegarrigues
Copy link

I tried to implement a version of the linlog by modifying the calculation of attraction forces in RPFA2Kernels.cu, without success. Adding a non-linear function causes a memory fault on line 234 of the RPGPUForceAtlas2.cu file during the execution (cudaCatchError(cudaDeviceSynchronize())). Could you give me an indication on how to implement the linlog version of ForceAtlats2 for the CUDA implementation? Thank you in advance.

@jeremiegarrigues
Copy link

It was actually a cast problem. Forces, although declared in const float, only support integers. However, after applying logarithms to the repulsive forces, the result is not very convincing. The Noack model should not be reduced to a simple logarithm on a part of the applied forces. If you have any advice.

@govertb
Copy link
Owner Author

govertb commented Nov 4, 2018

Hi, Thanks for sharing your findings and sorry for the late response. I'll try to look into this in the coming weeks... Casting forces to int shouldn't be necessary... I expect that something else is causing the memory fault (maybe related to #10).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants