Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
ocl framework
typedef double real;
typedef Eigen::Vector2d vec2;
typedef Eigen::Vector2i int2;
typedef Eigen::Vector4i int4;
vec2 mix (vec2 a, vec2 b, real c) {
return (a + b) * c;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment