Comments (5)
I see, so there's multiple issues here. My current machine does not support AVX, so the MSVC AVX compilation did not get tested. Sorry!
MSVC seems to have problems with stack alignment in general. In particular, it can't align value parameters, so the only way to pass SIMD types in MSVC is by reference. For AVX it looks like this would need some modifications to embree, although I'm not sure I understand the performance implications of changing that parameter to pass by reference.
It's interesting that MSVC is unable to find fmaintrin.h. Is this not a standard header?
The last issue is a bit irritating, since MSVC implements __declspec(align()), but not alignas.
A longer-term fix needs a bit more investigation, but for now I think it is best to just disable AVX when compiling with MSVC. At least on gcc, the performance increase with AVX is barely noticeable anyway, and I am not taking advantage of embree's packet raytracing either.
from tungsten.
I modified the CMake project to disable AVX on MSVC. Let me know if that fixes it for you.
from tungsten.
Great! Will give it another spin this afternoon.
from tungsten.
Disabling AVX in cmake helped in my case. Strangely it did not happen automatically.
from tungsten.
To fix #6, AVX is now disabled by default. That should take care of this issue as well.
from tungsten.
Related Issues (20)
- macOS build instructions HOT 2
- Question about sampleM in HairBCSDF
- editor.exe demands qt platform on windows HOT 1
- Radiance scaling due to solid angle compression for light transmission HOT 2
- fixed
- Rendering "Moana Island Scene" HOT 1
- Relative mean square error HOT 1
- Rotation matrix formula inconsistency? HOT 2
- build error core.lib HOT 2
- How to get EXR image. HOT 3
- Example scene with .vdb file HOT 2
- Far slower than the binary version HOT 1
- Debug/core.lib HOT 1
- About “seed” parameter in script tungsten.exe HOT 2
- About render elments . HOT 1
- Editor randomly crashes on macOS HOT 2
- Cannot Compile Master on Windows
- Why do output buffers contain noises? HOT 1
- the default far plane, near plane, and clip coordinates HOT 2
- About customizing ray directions
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 tungsten.