memoryãã¤ã³ã¯ã«ã¼ãããã³ã¼ããnvccã§ã³ã³ãã¤ã«ãããã¨ã©ã¼ãåºãorz
CUDAã®ã³ã¼ãã®ä¸ï¼ã«ã¼ãã«é¢æ°ãããªããï¼ã§shared_ptrã使ãããã«memoryãã¤ã³ã¯ã«ã¼ããããã¨ã©ã¼ãåºã¦ã³ã³ãã¤ã«ã§ããªãã£ãã»ã»ã»ã
ã¨ã©ã¼ã¡ãã»ã¼ã¸ã¨ãã¨ããããã®è§£æ±ºæ³
ã³ã³ãã¤ã«æã«åºã¦ããã¨ã©ã¼ã¯ãããªã®
/usr/include/c++/4.3/tr1/type_traits(240): error: invalid alignment value specified by attribute
ã©ããããã®ãã¨æã£ãããåèè³æããã¨ã«ä¸ã®ããã«ãã¾ããã
#define __aligned__ ignored
#include
#undef __aligned__
ããã§ã¨ããããã¯ã¨ã©ã¼ã¯åºãªããã¡ããã¨åãã¦ãã£ã½ããã©ããã§ãã³ãã«ããã®ããã»ã»ã»