-
Notifications
You must be signed in to change notification settings - Fork 151
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
Feature request: ability to defined fixed spins #27
Comments
Disabling torque in one or more regions does seem feasible. I might write it as an extension. Does |
Would it be more reasonable to make 'gamma' region-able (if it is not -Mykola On Fri, 29 Aug, 2014 at 5:09 PM, Arne Vansteenkiste
|
Making 'gamma' region-able should work too. But mumax3 should also recognize that if 'gamma' is zero for a particular cell, it should just return 'torque' as zero so that small numerical errors are not introduced. |
0 * something is zero, regardless of numerical noise. On Sat, Aug 30, 2014 at 3:11 PM, xfong notifications@github.com wrote:
|
As a first step, making gamma region-settable will be good. Later optimizations can be done to speed up the code so that computations are skipped for cells with gamma set as zero. |
There's no such thing as speeding up by skipping cells on a GPU.
|
Oh, I see. But does't that depend on the code? If the warp contains calculations in which "gamma" is zero, it should terminate early (which is what I meant by "skipping cells"). Since the fixed spins are likely to be local in memory, the threads that execute on the data in those memory locations are also likely to be i the same warp, no? So if the code is such that the function returns if gamma is detected to be zero, wouldn't those warps terminate sooner and result in faster execution overall? |
In the special case that the fixed spins perfectly coincide with thread On Sat, Sep 6, 2014 at 10:03 PM, xfong notifications@github.com wrote:
|
Kelvin, please check out 8946d26. |
Available in 3.6.1 |
It would be nice to have a switch to enable/disable calculation of torque in specific cells in mumax3.
The text was updated successfully, but these errors were encountered: