|
Re: run flags vs active intervals
It's not really referring to hardware SIMD, but just that we are shading many points at once, "in lock-step." In other words, if you had many points to shade, you could do it in this order:
point
It's not really referring to hardware SIMD, but just that we are shading many points at once, "in lock-step." In other words, if you had many points to shade, you could do it in this order:
point
|
By
Larry Gritz <l...@...>
·
#126
·
|
|
Re: run flags vs active intervals
Thanks, that makes sense. I know compilers are getting smarter all the time but wasn't sure if they were there yet. The cache and memory coherence makes sense, and then sorting things like that would
Thanks, that makes sense. I know compilers are getting smarter all the time but wasn't sure if they were there yet. The cache and memory coherence makes sense, and then sorting things like that would
|
By
Wormszer <worm...@...>
·
#131
·
|
|
Re: run flags vs active intervals
As a uni student who is keen on the OSL open source release, I'm glad to be reading these discussions - particularly questions and answers. They're the source of knowledge, freely shared insights. It
As a uni student who is keen on the OSL open source release, I'm glad to be reading these discussions - particularly questions and answers. They're the source of knowledge, freely shared insights. It
|
By
Xavier Ho <con...@...>
·
#136
·
|
|
Re: run flags vs active intervals
I like this idea too. What we were discussing yesterday was something
like:
index: [ 0 1 2 3 4 5 6 7 8 9 ]
flags: [ 0 0 1 1 1 1 0 0 1 0 ]
active_points: [ 2 3 4 5 8 ]
for (int i =
I like this idea too. What we were discussing yesterday was something
like:
index: [ 0 1 2 3 4 5 6 7 8 9 ]
flags: [ 0 0 1 1 1 1 0 0 1 0 ]
active_points: [ 2 3 4 5 8 ]
for (int i =
|
By
Christopher <cku...@...>
·
#127
·
|
|
Re: run flags vs active intervals
I want to point out that Chris F tested out the "all on", "random on", and "alternating on/off" cases. There's one more case that may be important, which is a few isolated "on" points with big "off"
I want to point out that Chris F tested out the "all on", "random on", and "alternating on/off" cases. There's one more case that may be important, which is a few isolated "on" points with big "off"
|
By
Larry Gritz <l...@...>
·
#128
·
|
|
Add derivatives to I in shader globals (issue186262)
Reviewers: osl-dev_googlegroups.com,
Description:
We were missing the derivatives in the I field which is important for
background shader. This little patch fixes the problem.
Please review this at
Reviewers: osl-dev_googlegroups.com,
Description:
We were missing the derivatives in the I field which is important for
background shader. This little patch fixes the problem.
Please review this at
|
By
aco...@...
·
#132
·
|
|
Re: Add derivatives to I in shader globals (issue186262)
LGTM
http://codereview.appspot.com/186262/show
LGTM
http://codereview.appspot.com/186262/show
|
By
cku...@...
·
#133
·
|
|
Re: run flags vs active intervals
Right, here's the initialization code for some sparse on-states:
// Four isolated flags turned on.
std::fill((Runflag*)r, r+len, (Runflag)Runflag_Off);
r[0] = r[50] = r[100] = r[150] =
Right, here's the initialization code for some sparse on-states:
// Four isolated flags turned on.
std::fill((Runflag*)r, r+len, (Runflag)Runflag_Off);
r[0] = r[50] = r[100] = r[150] =
|
By
Chris Foster <chri...@...>
·
#137
·
|
|
Re: run flags vs active intervals
That's interesting, it kind of relates to my original question if the compiler was able to apply SIMD operations to the loop.
When you disabled vectorization did it effect the active index case?
Are
That's interesting, it kind of relates to my original question if the compiler was able to apply SIMD operations to the loop.
When you disabled vectorization did it effect the active index case?
Are
|
By
Wormszer <worm...@...>
·
#135
·
|
|
Re: Compiling OpenShadingLanguage under Windows
I have been trying to get the shaders test to build but I have run into lots of issues with linking dependencies, exports imports etc.
The projects cmake generates for example oslquery uses source
I have been trying to get the shaders test to build but I have run into lots of issues with linking dependencies, exports imports etc.
The projects cmake generates for example oslquery uses source
|
By
Wormszer <worm...@...>
·
#138
·
|
|
Error for bad connection type rather than assertion. (issue193063)
LGTM
Having dev-osl@imagework usually works for me, but I don't see this
mail.
http://codereview.appspot.com/193063/show
LGTM
Having dev-osl@imagework usually works for me, but I don't see this
mail.
http://codereview.appspot.com/193063/show
|
By
cku...@...
·
#143
·
|
|
Re: run flags vs active intervals
No, the active index case isn't vectorized by the compiler anyway.
No. In a SIMD shader machine I generally expect that creating the runstate
representation (whatever it may be) from the results of
No, the active index case isn't vectorized by the compiler anyway.
No. In a SIMD shader machine I generally expect that creating the runstate
representation (whatever it may be) from the results of
|
By
Chris Foster <chri...@...>
·
#144
·
|
|
Re: run flags vs active intervals
I guess i was thinking of the vectorization being a type of unrolling, not really in the correct sense i guess.
Where it was expanding it by say by 4 or how ever wide the vector operator is, reducing
I guess i was thinking of the vectorization being a type of unrolling, not really in the correct sense i guess.
Where it was expanding it by say by 4 or how ever wide the vector operator is, reducing
|
By
Wormszer <worm...@...>
·
#140
·
|
|
Re: run flags vs active intervals
Fair enough. Vectorization does imply unrolling the loop (by a factor of
4 for SSE), though loop unrolling can sometimes be a useful optimization
without hardware vectorization.
The active index
Fair enough. Vectorization does imply unrolling the loop (by a factor of
4 for SSE), though loop unrolling can sometimes be a useful optimization
without hardware vectorization.
The active index
|
By
Chris Foster <chri...@...>
·
#145
·
|
|
Re: Compiling OpenShadingLanguage under Windows
I finally have it all building on windows and can run the testshade program.
I had to create some new OSL_DLLPUBLIC defines and place them around, OSLCOMP_DLLPUBLIC, OSLEXEC_DLLPUBLIC
liboslcomp
I finally have it all building on windows and can run the testshade program.
I had to create some new OSL_DLLPUBLIC defines and place them around, OSLCOMP_DLLPUBLIC, OSLEXEC_DLLPUBLIC
liboslcomp
|
By
Wormszer <worm...@...>
·
#141
·
|
|
Re: problem building on macos
Thanks, that was just the info I needed! A few libraries in macports
were left overs from a Leopard universal binary build. I uninstalled a
pile of libraries, working backwards from the link errors;
Thanks, that was just the info I needed! A few libraries in macports
were left overs from a Leopard universal binary build. I uninstalled a
pile of libraries, working backwards from the link errors;
|
By
Nick Porcino <nick....@...>
·
#139
·
|
|
Re: problem building on macos
If someone wants to write a MacPorts Portfile for OIIO I can commit it. That should make building OSL that much easier.
Regards,
Blair
Nick Porcino wrote:
If someone wants to write a MacPorts Portfile for OIIO I can commit it. That should make building OSL that much easier.
Regards,
Blair
Nick Porcino wrote:
|
By
Blair Zajac <bl...@...>
·
#142
·
|
|
Fix errors and warnings from g++-4.4.1 (issue193074)
Reviewers: osl-dev_googlegroups.com,
Description:
Several additional warnings and some new errors occur when trying to
compile OSL using g++-4.4.1.
Errors were due to:
- header rearrangements which
Reviewers: osl-dev_googlegroups.com,
Description:
Several additional warnings and some new errors occur when trying to
compile OSL using g++-4.4.1.
Errors were due to:
- header rearrangements which
|
By
chri...@...
·
#147
·
|
|
Re: Fix errors and warnings from g++-4.4.1 (issue193074)
You could do what Google Protocol Buffers does and determine which hash map to use at configure time. It works with g++ 3.4.x all the way up to 4.4.x. See the m4 file
You could do what Google Protocol Buffers does and determine which hash map to use at configure time. It works with g++ 3.4.x all the way up to 4.4.x. See the m4 file
|
By
Blair Zajac <bl...@...>
·
#146
·
|
|
Re: Fix errors and warnings from g++-4.4.1 (issue193074)
hash map to
4.4.x. See
IMHO this seems to be a bit of overkill, and my preferred option would
be just to specify that >=boost-1.36 was necessary. However I know that
may not be an option for
hash map to
4.4.x. See
IMHO this seems to be a bit of overkill, and my preferred option would
be just to specify that >=boost-1.36 was necessary. However I know that
may not be an option for
|
By
chri...@...
·
#148
·
|