Conversation
msimberg
left a comment
There was a problem hiding this comment.
Thanks @havogt!
The model_backends.py module docstring almost perfectly answers my questions.
I don't know if this needs explicit mentioning somewhere, but handling of None is not described. I see now that BackendLike is ... | None. In
Backends can either be concrete GT4Py backends or 'BackendLike's, which are either concrete backends
or descriptions of how to construct a concrete backend
I assume None belongs to description of how to construct a concrete backend, in the form of "use the default"?
Additionally, we use Backend | None in some places. This is a subset of BackendLike, so should we just be using BackendLike in place of Backend | None? Can one pass None as allocator or does one have to get a concrete allocator with get_allocator(None) first?
Unfortunately, no. |
|
cscs-ci run default |
|
cscs-ci run distributed |
|
Mandatory Tests Please make sure you run these tests via comment before you merge!
Optional Tests To run benchmarks you can use:
To run tests and benchmarks with the DaCe backend you can use:
To run test levels ignored by the default test suite (mostly simple datatest for static fields computations) you can use:
For more detailed information please look at CI in the EXCLAIM universe. |
No description provided.