Hi, everyone.
I'd like to know how to write CMakesLists.txt for cuda code.
Are there any good references for it ??
Code is as the following, very simple.
// hello.cu
#include <cuda.h>
#include <cuda_runtime.h>
__global__ kernel()
{
}
int main(int argc, char** argv)
{
ros::init(argc, argv, "hello");
ros::NodeHandle nh;
kernel<<<1, 1>>>()
ROS_INFO_STREAM("Hello, world.");
return 0;
}
Thanks in advance.
Originally posted by moyashi on ROS Answers with karma: 721 on 2014-05-07
Post score: 2