# OPS gpu programming

**URL:** <https://parasols.discourse.group/t/ops-gpu-programming/63>\
**Category:** GPU Computing\
**Created:** [13 October 2025 16:20 UTC](https://parasols.discourse.group/t/ops-gpu-programming/63 "2025-10-13T16:20:43Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![CatherineOSullivan](https://avatars.discourse-cdn.com/v4/letter/c/a9adbd/32.png) [@CatherineOSullivan](https://parasols.discourse.group/u/CatherineOSullivan)\
**Post date:** [13 October 2025 16:20 UTC](https://parasols.discourse.group/t/ops-gpu-programming/63/1 "2025-10-13T16:20:43Z")

</div>

> **[Welcome to OPS documentation! — Oxford Parallel library for Structured mesh...](https://ops-dsl.readthedocs.io/en/feature-ops-cg-f2c/index.html)**

---

<div class="post-metadata">

**Author:** ![ParaSolS](https://avatars.discourse-cdn.com/v4/letter/p/f19dbf/32.png) [@ParaSolS](https://parasols.discourse.group/u/ParaSolS)\
**Post date:** [14 October 2025 14:12 UTC](https://parasols.discourse.group/t/ops-gpu-programming/63/4 "2025-10-14T14:12:33Z")

</div>

## A summary comparison from yesterday’s discussion

| OPS | Kokkos |
| --- | --- |
| **Domain-specific** language for structured grids & particle/grid interactions | **Higher level** abstraction (Programming modeling that enables performance portability) |
| **Features:** | **Features:** |
|   
 - Automatic memory management   
 - Built-in MPI support   
 - Functions for handling iterations   
 - Performance is tuned   
 - Automatic support of multiple GPUs   
 - Performance updates can benefit the whole community |   
 - User-defined memory layout   
 - No built-in MPI support; user must provide MPI support   
 - Parallel patterns (“directives”) to handle iterations   
 - User can tune parallel performance   
 - Multiple GPUs not automatically supported (??)   
 - Performance updates may not be passed to the whole community |

This summary may need to be updated in the future.

---

<div class="post-metadata">

**Author:** ![jpmorr](https://yyz2.discourse-cdn.com/flex008/user_avatar/parasols.discourse.group/jpmorr/32/23_2.png) [@jpmorr](https://parasols.discourse.group/u/jpmorr)\
**Post date:** [16 October 2025 11:19 UTC](https://parasols.discourse.group/t/ops-gpu-programming/63/5 "2025-10-16T11:19:53Z")

</div>

Here’s an overview / hierarchy of the various methods of adding parallelism from the EXCALIBUR project

 ![image](https://canada1.discourse-cdn.com/flex008/uploads/parasols/original/1X/16552c6d51c8949aa206185a48d72c92d0d24ee1.png)

And some of the details on the relevant sections:

 ![image](https://canada1.discourse-cdn.com/flex008/uploads/parasols/original/1X/3426367ff9f8ae7ca33555fcca42f80ffdf5fe78.png)

And for DSLs:

 ![image](https://canada1.discourse-cdn.com/flex008/uploads/parasols/original/1X/1e50016f7f444875b6a887876eb23a7a4c98ed80.png)

The template based kokkos uses modern C++, much like MercuryDPM so could be a good match for the current architecture and may be easier to integrate. Several other particle based DSLs mentioned here - would these not be much more appropriate than OP-DSLs?

I’m struggling to understand the OPS suggestion, when there appears to be an whole other set of particle-method specifc DSLs that we should perhaps be considering? I don’t know much about these but they seem like interesting starting points?
