//Header file A.h
#include "cuda_runtime.h"
#include "device_launch_parameters.h"
class A
{
__host__ __device__ void move();
}
//cu file A.cu
#include "A.h"
{
__host__ __device__ void A::move()
{
...
}
}
When calling the method defined in the A.cu
file from another .cu
file, I`m getting the following error:
External calls are not supported (found non-inlined call to ...),
I'm using the sm_10
compile option.