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

Optix simplification / cleanup #1011

Merged
merged 5 commits into from
May 2, 2019

Conversation

marsupial
Copy link
Contributor

Description

Trying to simplify / cleanup portions of the current implementation.

Make OSL::pvt::gSplineData constant which can avoid avoid CPU->GPU upload.
Introduce BackendLLVM::llvm_load_string to localize the branching done when uploading strings.
Send actual bitcode bytes vs a point to std::vector (which is currently incurring a temporary allocation penalty)

@lgritz
Copy link
Collaborator

lgritz commented May 2, 2019

Pending that change, LGTM.

@lgritz
Copy link
Collaborator

lgritz commented May 2, 2019

LGTM, and my tests pass. Merging.

@lgritz lgritz merged commit 9ee13e2 into AcademySoftwareFoundation:master May 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants