Added the capability of directly compiling cuda and ptx to CMake. (#906)
* Added the capability of directly compiling cuda and ptx to CMake. * Added comment to show example use case for cuda source file. * Minimum compute/sm is 35 in order to support PTX intrinsics * Updated CMake and added example nvcc kernel. * Made cudart link statically. * Added compute/sm capabilities for code gen in nvcc based on either cuda 8 or 9. * Header update. * Fix cmake indentation.
Showing
Please
register
or
sign in
to comment