| bf1dd0b8 | 20-May-2024 |
James Wright <james@jameswright.xyz> |
fluids: Use TORCH_DEVICE_CPU for sycl backends
On Sunspot, on-device inference is not working reliably. I'm not sure exactly why at the moment (whether it's a libCEED backend issue or something else
fluids: Use TORCH_DEVICE_CPU for sycl backends
On Sunspot, on-device inference is not working reliably. I'm not sure exactly why at the moment (whether it's a libCEED backend issue or something else).
show more ...
|
| 9d992146 | 11-May-2024 |
James Wright <james@jameswright.xyz> |
fluids: Add log_events.c/h, PetscLogEvent for torch
To have the log_events accessbile to torch (in C++), I needed to separate out the header file containing the extern PetscLogEvent declarations. Wh
fluids: Add log_events.c/h, PetscLogEvent for torch
To have the log_events accessbile to torch (in C++), I needed to separate out the header file containing the extern PetscLogEvent declarations. While I was at it, I figured it'd be more clear to have a separate log_events.c file as well to have the actual "storage" of the PetscLogEvents and the RegisterLogEvents function itself.
show more ...
|