FLAMEGPU / FLAMEGPU2

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

Expose JitifyCache via Python interface. #1151

Closed Robadob closed 7 months ago

Robadob commented 7 months 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