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

Mixed precision: Provide conversion routines #80

Closed
karlrupp opened this issue Jun 24, 2014 · 1 comment
Closed

Mixed precision: Provide conversion routines #80

karlrupp opened this issue Jun 24, 2014 · 1 comment
Milestone

Comments

@karlrupp
Copy link
Collaborator

Currently one cannot create a vector of integers from a vector of floats or vice versa. However, this would allow for some neat mixed precision algorithms, so we should provide conversions of the type

viennacl::vector x(viennacl::element_cast(x_int));

or

viennacl::vector<float> x(x_int);

to better support this. See also discussion here:
http://sourceforge.net/p/viennacl/mailman/viennacl-devel/thread/CAFXwtss7-%2BA_4w7bNw3jbdZ1xn8%2BAxo_71K8igO%2Bg7qqyRGJCA%40mail.gmail.com/#msg32493195

@karlrupp karlrupp added this to the Release 1.6.0 milestone Jun 24, 2014
@karlrupp karlrupp modified the milestones: Release 1.7.0, Release 1.6.0 Oct 29, 2014
@karlrupp
Copy link
Collaborator Author

Postponed to 1.7.0 in order to install shorter release cycles.

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

No branches or pull requests

1 participant