Skip to content

Conversation

@Ruochun
Copy link

@Ruochun Ruochun commented Nov 2, 2025

I don't know if I am the only person who encounters this, but when I use Jitify in my project (https://github.com/projectchrono/DEM-Engine), on Windows with MSVC, the jit-ed kernel name mangling was never right, until I added this basically one-line fix. I hope my fix can be incorporated, but if the problem was due to the fact that I incorrectly used Jitify on Windows, kindly let me know, too.

Platform compatibility improvement:

  • Modified the type_reflection struct in jitify.hpp to use typeid(...).name() directly on MSVC, while retaining the use of demangle_native_type for other platforms. This addresses differences in how type names are handled between compilers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant