CEED / CEED/libCEED

User-defined thread configurations for GPU backends

Aperta
#653 0 commenti 0 reazioni 4 assegnatari Rivendicata da @jeremylt Vedi su GitHub
enhancement GPU interface
Lingua principale
C
Stelle
265
Fork
78
Merge medio
2g 8h
PR unite (30g)
11

Descrizione

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.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.