I propose integrating the GPU version of Trixi.jl with Enzyme.jl for differentiable programming.
Benefits:
- Differentiable Programming: Allows for gradient-based optimizations in CFD simulations.
- Unified Workflow: Provides a seamless experience for differentiable programming.
Note: Jacobian matrices computed on CPU and GPU may differ due to:
- Precision Differences: GPUs often use lower precision (e.g., FP32) compared to CPUs (e.g., FP64), affecting numerical accuracy.
- Parallelism Effects: GPUs handle parallel computations differently, potentially introducing slight numerical differences.