NVIDIA / NVIDIA/cccl

Discussion: Implement "lower-level" APIs for `cuda.parallel` that do not accept array inputs?

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

Description

>> we could consider changing the API to not accept `__cuda_array_interface__` objects, and instead have the user pass in the required information (pointer, size, dtype, etc.,). This allows each library/user to compute that information in the most efficient way possible rather than making it our responsibility.
>
> Let's have a separate issue to track this. Thinking about this more we should try to make the current (low-level) interface look more like a 1:1 binding to the bare C++ one. This is what we do for `cuda.cooperative` too. Pythonic interface can come later.

_Originally posted by @leofang in https://github.com/NVIDIA/cccl/issues/3718#issuecomment-2648174143_

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.