TiarkRompf / virtualization-lms-core

A Framework for Runtime Code Generation and Compiled DSLs
http://scala-lms.github.com
BSD 3-Clause "New" or "Revised" License
324 stars 91 forks source link

Lambda function and if-then-else return value deduction #97

Closed afernandez90 closed 9 years ago

afernandez90 commented 9 years ago

Added support for return type deduction on C++14-like functions and if-then-else constructs. Both changes are only active if the corresponding properties are set in Config.scala for backward compatibility with OpenCL C, CUDA, etc.