AvtechScientific / ASL

Advanced Simulation Library - hardware accelerated multiphysics simulation platform.
http://asl.org.il
GNU Affero General Public License v3.0
217 stars 55 forks source link

issue #31 – LLVM does not allow Implicit conversions between built-in vector data types #39

Closed cyclaero closed 6 years ago

cyclaero commented 6 years ago

Implicit conversions between built-in vector data types (here double to float) are disallowed in OpenCL 1.2, and LLVM does enforce this. Therefore explicitly coerce ACL constants to float.

AvtechScientific commented 6 years ago

Thank you, @cyclaero !