Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: Native I/O. #2485

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft

WIP: Native I/O. #2485

wants to merge 1 commit into from

Conversation

maleadt
Copy link
Member

@maleadt maleadt commented Sep 5, 2024

This PR isn't functional, but contains a PoC for a native print function, i.e., without relying on CUDA's very limited printf support. At this point, it doesn't get us anything yet, but in principle this should allow for more flexible output.

I haven't gotten around to finish or integrate it, so dumping it out here in case anybody would be interested.

I'm not sure this special-cased approach is the best way forward, maybe we ought to first implement a proper hostcall (e.g., based on LLVM's version, https://www.youtube.com/watch?v=_LLGc48GYHc), and build on top of that.

[ci skip]
@maleadt maleadt added cuda kernels Stuff about writing CUDA kernels. speculative Not sure about this one yet. labels Sep 5, 2024
@maleadt maleadt marked this pull request as draft September 5, 2024 13:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cuda kernels Stuff about writing CUDA kernels. speculative Not sure about this one yet.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant