CEED / CEED/libCEED

User-defined thread configurations for GPU backends

未关闭
#653 0 条评论 0 个 reaction 已指派 4 人 已被 @jeremylt 认领 在 GitHub 查看
enhancement GPU interface
主要语言
C
星标
265
派生
78
平均合并
2 天 8 小时
30 天内合并 PR
11

描述

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.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。