I have some problems using ATL (https://msdn.microsoft.com/en-us/library/3ax346b7.aspx) on NVdia Cuda architecture.
I have made CUDA7.5 project on Visual studio 2010, and just added
#include <afxwin.h>
to my default source file, kernel.cu.
Since afxwin.h needs Microsoft MFC libraries, I have changed my project properties to use Shared MFC libraries.
But when I tried to compile it, error occurs. ERROR NO C2015, C2017, C2143, which is about grammar error occurs for "atlbase.h" which I never modified.
Do you have any solutions to use ATL on CUDA?
PS. ATL is working well on MVCC, not a problem of absence of header file, dlls and so on