CEED / CEED/libCEED

User-defined thread configurations for GPU backends

Open
#653 0 comments 0 reactions 4 assignees Claimed by @jeremylt View on GitHub
enhancement GPU interface
Dominant language
C
Stars
265
Forks
78
Avg merge
2d 8h
Merged PRs (30d)
11

Description

This issue is to continue the discussion raised in #642, regarding a framework that would allow users to explicitly set parameters related to GPU kernel launch configurations at runtime.

@jedbrown suggested a possible setup with:

> It could be per Ceed, as in
>
> ```
> -ceed /gpu/hip/ref:block_size=256:other_option=value
> ```
> or per CeedOperator, in which case it would be set using
>
> ```c
> int CeedOperatorSetOption(CeedOperator, const char *key, const char *value);
> ```

Another consideration is that different GPU backends will have different numbers of available parameters. The non-fused backends could have different choices for restrictions, basis actions, and QFunctions.

To start, I assigned everyone who had participated thus far in the discussion of #642. Feel free to assign/tag anyone else.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.