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] Vector fields implementation #279

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

[WIP] Vector fields implementation #279

wants to merge 1 commit into from

Conversation

mosra
Copy link
Owner

@mosra mosra commented Aug 30, 2018

From 2012. Inspired by http://bitsquid.blogspot.com/2012/09/a-data-oriented-data-driven-system-for.html.

The goal of this one was describe a parametrized math equation using a high-level API which compiles to nicely vectorizable code. Then using that to process large batches of data, with the idea that this is faster than writing scalar math code by hand.

Besides this compiling to a bunch of C++ templates, I had in mind export of GLSL code (or now, SPIR-V).

TODO: how to make function calls this pretty?

    auto f = sin(x) ^ 2
    f(1.0f);
@mosra mosra added this to TODO in Math and algorithms via automation Aug 30, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

None yet

1 participant