Replies: 1 comment 4 replies
-
Personally I see zero good reason to support Windows, as far as I know all serious scientific computing in ATLAS, HEP, and outside of that happens on Linux or on Mac, right? Supporting Windows doesn't seem worth the effort to me. That said, you're right that the |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This morning I was trying to get the code working on Windows. I guess I'm just masochistic...
After a lot more struggle than I would've expected, I can make at least most things compile. (I believe I found a Visual Compiler bug with the
vecmem::binary_page_memory_resource
implementation. That just refuses to compile into a DLL with exported symbols. If the compiler doesn't have the export the symbols of the class, it can compile fine. But if I request its symbols to be exported, the compilation dies on trying to instantiate thevecmem::binary_page_memory_resource::m_pages
variable.)But now I ran into one more issue, which brings the whole Windows port into question... The unit test of
vecmem::contiguous_memory_resource
fails on Windows in "Debug" mode. 😦 It turns out that MSVC does a lot of things during debugging. In order to test correct memory accesses,std::vector
-s allocate memory with some padding in "Debug" mode. Which breaks the test that we have for that type...The good news is that at least in "Release" mode the test succeeds. But at this point I've run into so many issues with that #@$% Windows build that I wanted to open a discussion about it. Whether anybody else but me even cared a little bit about making the project support that platform.
Pinging @stephenswat, @paulgessinger.
Beta Was this translation helpful? Give feedback.
All reactions