Nick Porcino
Nick Porcino
@VVD If you can repro, could you try adding a final else() clause in this conditional in garch/CMakelists.txt? ``` if(APPLE) set(GARCH_GLPLATFORMCONTEXT glPlatformContextDarwin) set(GARCH_GLPLATFORMDEBUGWINDOW glPlatformDebugWindowDarwin) set(GARCH_SOURCE_EXTENSION mm) set(GARCH_PLATFORM_LIBRARIES "-framework AppKit") elseif(X11_FOUND)...
Maybe that's enough to help people debug the problem if they encounter it? I don't know if people have suggestions for better reporting, but at least there's some diagnostic output...
got it. We test for `X11_FOUND`, which should have been set by ``` if (CMAKE_SYSTEM_NAME STREQUAL "Linux") find_package(X11) endif() ``` around line 276 in Packages.cmake. Does this fix it? I...
That's cool :) Are you interested in submitting that as a PR? Those patches represent investigation and bug fixed worth tracking together.
Thanks for putting together this set of hacks and patches, it should unblock others experiencing this issue for now!
I'm assuming the typos are not the source of your issue, and you've retyped some portion of your cmakelist.txt. some suggetions ``` # Define the executable and explicitly mark kernel.cpp...
I was hoping `CUDA_SEPARABLE_COMPILATION` would solve it. Maybe someone who works more regularly with Cuda has some suggestions?
Good detective work! You are right. https://github.com/AcademySoftwareFoundation/openexr/blob/b6fc6eccf991044d4990a5e8a3f580ec4c6b7149/cmake/LibraryDefine.cmake#L13 It's hard to trace beyond this commit four years ago, but if I remember correctly, /EHsc used to generate measurably faster code in...
Pragmas and attributes don't protect against issues like optimizations or undefined behavior in certain compilers. Pragmas or attributes may not help with alignment-related performance on some architectures either. A union...
The reason I suggested the union is that it doesn't introduce branching for basic access. Is subscripting with no array access an option for Imath 4? Since EXRCore is C,...