Comments (10)
Disabling torque in one or more regions does seem feasible. I might write it as an extension. Does
region := 2; ext_disableTorque(region); other_region_as_well := 3; ext_disableTorque(other_region_as_well)
look reasonable to you?
from 3.
Would it be more reasonable to make 'gamma' region-able (if it is not
yet), so that setting gamma to 0 in some regions freezes corresponding
spins?
-Mykola
On Fri, 29 Aug, 2014 at 5:09 PM, Arne Vansteenkiste
[email protected] wrote:
Disabling torque in one or more regions does seem feasible. I might
write it as an extension. Does
region := 2
ext_disableTorque(region)
other_region_as_well := 3
ext_disableTorque(other_region_as_well)look reasonable to you?
—
Reply to this email directly or view it on GitHub.
from 3.
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.
from 3.
0 * something is zero, regardless of numerical noise.
Anyway, gamma is used in quite a few places so making it
region-settable will require some coding and extensive testing of, at
least, Landau-Lifshitz, STT and temperature.
On Sat, Aug 30, 2014 at 3:11 PM, xfong [email protected] wrote:
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.—
Reply to this email directly or view it on GitHub.
from 3.
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.
from 3.
There's no such thing as speeding up by skipping cells on a GPU.
On Sep 6, 2014 7:48 PM, "xfong" [email protected] 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.—
Reply to this email directly or view it on GitHub
#27 (comment).
from 3.
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?
from 3.
In the special case that the fixed spins perfectly coincide with thread
blocks, the GPU would be doing few cycles less, yes. In the general
case it would do more due to divergent branching. In any case we are
bandwidth limited so that merely reading gamma would slow things down,
regardless of computation.
On Sat, Sep 6, 2014 at 10:03 PM, xfong [email protected] wrote:
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?—
Reply to this email directly or view it on GitHub.
from 3.
Kelvin, please check out 8946d26.
from 3.
Available in 3.6.1
from 3.
Related Issues (20)
- set the regions' m of a cylinder ,but table.text can not show the correct setting of m
- Minor typo in API for sinc function- says return 0 if x=0 HOT 1
- New bench result
- mumax3-convert -xrange 50:100 -yrange :100 file.ovf
- High Performance Computing (HPC) conf. suggestion - node/tasks HOT 2
- panic: CURAND_STATUS_LENGTH_NOT_MULTIPLE issue when grid size doesn't have small prime factors EDIT: when grid size odd and temperature finite HOT 2
- 4090 benchmark result
- rebase the nonlocalRKKY feature to the current master code
- defregion? HOT 3
- Running error "/log.txt: no such file or directory" HOT 4
- Equation of the system HOT 1
- (Minor) Inconsistent behavior between m_full and m_full.Comp() when setgeom is used
- Magnetoelastic effective field equation is missing a 2*B2
- Elapsed time measerement for CUDA kernel
- Error from compilation HOT 2
- save m with ovf document while running "relax" order
- Same input code but different result sometimes. HOT 4
- Minimizer() gives inconsistent results for the same input, between runs and in the same run. HOT 4
- ❗ mumax mailing list is banned HOT 4
- mumax3-server oddities and install issues
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from 3.