NVIDIA / NVIDIA/cccl

CCCL C: Avoid passing structs by value in C APIs

Open
#3,952 4 comments 0 reactions 1 assignee Claimed by @leofang View on GitHub
c cuda.compute
Dominant language
C++
Stars
2.5k
Forks
486
Avg merge
2d 6h
Merged PRs (30d)
295

Description

Currently the C APIs take structs like `cccl_iterator_t` and `cccl_op_t` by value. It would be better for both performance and codegen reasons to take pointers to these structs instead. The change will also need to propagate to Python (`cuda.parallel`).

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.