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

A builder-class for NVRTC programs #388

Closed
eyalroz opened this issue Jul 22, 2022 · 0 comments
Closed

A builder-class for NVRTC programs #388

eyalroz opened this issue Jul 22, 2022 · 0 comments

Comments

@eyalroz
Copy link
Owner

eyalroz commented Jul 22, 2022

It would be useful if one could build NVRTC programs incrementally, adding and setting headers, options, etc. at one's convenience rather than when constructing a program_t object.

@eyalroz eyalroz self-assigned this Jul 22, 2022
eyalroz added a commit that referenced this issue Jul 22, 2022
…interface for NVRTC programs.

Split the `program_t` class in two: A builder-ish `program_t` and a `compilation_output_t` type, produced by compilation of a program. The former lets you easily add or change settings, the latter holds all of the post-compilation methods for locating named globals and getting logs, PTX and cubin. This split should later also help us introduce the PTX compilation mechanism.
eyalroz added a commit that referenced this issue Jul 22, 2022
…interface for NVRTC programs.

Split the `program_t` class in two: A builder-ish `program_t` and a `compilation_output_t` type, produced by compilation of a program. The former lets you easily add or change settings, the latter holds all of the post-compilation methods for locating named globals and getting logs, PTX and cubin. This split should later also help us introduce the PTX compilation mechanism.
eyalroz added a commit that referenced this issue Jul 22, 2022
…interface for NVRTC programs.

Split the `program_t` class in two: A builder-ish `program_t` and a `compilation_output_t` type, produced by compilation of a program. The former lets you easily add or change settings, the latter holds all of the post-compilation methods for locating named globals and getting logs, PTX and cubin. This split should later also help us introduce the PTX compilation mechanism.
eyalroz added a commit that referenced this issue Jul 22, 2022
…interface for NVRTC programs.

Split the `program_t` class in two: A builder-ish `program_t` and a `compilation_output_t` type, produced by compilation of a program. The former lets you easily add or change settings, the latter holds all of the post-compilation methods for locating named globals and getting logs, PTX and cubin. This split should later also help us introduce the PTX compilation mechanism.
eyalroz added a commit that referenced this issue Jul 22, 2022
…interface for NVRTC programs.

Split the `program_t` class in two: A builder-ish `program_t` and a `compilation_output_t` type, produced by compilation of a program. The former lets you easily add or change settings, the latter holds all of the post-compilation methods for locating named globals and getting logs, PTX and cubin. This split should later also help us introduce the PTX compilation mechanism.
@eyalroz eyalroz closed this as completed in ef46e32 Aug 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant