Skip to content

An implementation of C++ std::complex for CUDA devices (i.e. compiles with nvcc)

License

Notifications You must be signed in to change notification settings

jtravs/cuda_complex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

This is an implementation of C++ std::complex for use on CUDA devices.
Written by John C. Travers <[email protected]> (2012).

Apart from nvcc, it should also work wih any C++03 compiler.
It is quiet complete. As far as I can tell the only missing features are:
  - long double support (not supported on CUDA)
  - some integral pow functions (due to lack of C++11 support on CUDA)

This code is heavily derived from the LLVM libcpp project
(svn revision 147853), mainly libcxx/include/complex. The git history
contains the complete change history from the original.

The modifications are licensed as per the original LLVM license, which is dual
licensed under the MIT and the University of Illinois Open Source Licenses.
See LICENSE.TXT for details.

About

An implementation of C++ std::complex for CUDA devices (i.e. compiles with nvcc)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages