Add optixHello example#1
Merged
mortacious merged 1 commit intomortacious:masterfrom Oct 4, 2021
Merged
Conversation
Owner
|
Hey, thanks for your contribution! I'm planning to re-implement all the examples from the SDK in python in the mid term so this is definitely helpful :). Currently I do not plan to develop this package beyond the actual OptiX functionality, so a Bridge to OpenGL is outside the scope and would be more fitting within the However, you could easily develop such a bridge by wrapping the functions from the CUDA runtime API in cython. Cupy's |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hello,
thanks for your amazing work, your wrapper works flawlessly on my machine (at least for the two provided examples by using cuda 11.4, optix 7.3 on ubuntu 20.04).
Here is the implementation of the OptixHello example, it is not much, but I needed to start somewhere.
Do you have any plan to support interactive examples ? We could use a high-level python opengl-based API coupled with OpenGL/CUDA buffer interop. Apparently CUDA/OpenGL interop is not yet available in cupy. Of course, we could map the cupy buffer by using directly the raw pointer, but last time I checked, the cuda python low-level bindings did not wrap all the required interop functions.