FLAMEGPU / FLAMEGPU2

FLAME GPU 2 is a GPU accelerated agent based modelling framework for CUDA C++ and Python
https://flamegpu.com
MIT License
106 stars 22 forks source link

Expose JitifyCache via Python interface. #1151

Closed Robadob closed 1 year ago

Robadob commented 1 year ago

Required by https://github.com/FLAMEGPU/ABM_Framework_Comparisons/pull/9

To allow

if "--disable-rtc-cache" in sys.argv:
    rtc_cache = pyflamegpu.JitifyCache.getInstance()
    rtc_cache.useMemoryCache(False)
    rtc_cache.useDiskCache(False)

The changes to JitifyCache.h/.cu are required to suppress a SWIG warning, "Nothing known about jitify::experimental::KernelInstantiation".

This will cause conflicts with #1150