runtime
runtime copied to clipboard
AnyDSL Runtime Library
This PR adds event support to AnyDSL runtime. Currently, only CPU & Cuda devices are supported. Support can be queried via `device_check_feature_support` and "event". Might add HSA support in the...
Add asynchronous copy operation `anydsl_copy_async`. The "async" is only a hint and only works on CUDA and OpenCL. Did not find a suitable method for HSA. CPU could have async,...
This adds a parameter to allocate a given amount of dynamic shared memory upon kernel launch. Wrapper functions that just pass 0 are provided for backwards compatibility with existing code....
I've been doing this by hand (editing CMakeLists.txt) for years, but I think we need a proper way to do this: disable backends at will, easily. For various reasons (LLVM...
We should not nag users with warnings that might not be relevant to them. We might want to enable some info messages for this though, or find some other means...
Simple fix to prevent `thorin.opt()` being called when `::compile` fails due to simple syntax errors and other issues. This is mandatory for proper safe guards, error recovery and the simple...