Fix T49603: Blender/Cycles 2.78 CUDA error on Jetson-TX1~
authorSergey Sharybin <sergey.vfx@gmail.com>
Wed, 8 Mar 2017 12:38:01 +0000 (13:38 +0100)
committerSergey Sharybin <sergey.vfx@gmail.com>
Wed, 8 Mar 2017 12:38:01 +0000 (13:38 +0100)
Patch by Bruno d'Arcangeli (@arcangeli), thanks!

extern/cuew/include/cuew.h

index 19087117667fcc62d457ee6e9b0ba8547d3579a6..4cce29d38ab331d79bde26efbaaf5e13fd417864 100644 (file)
@@ -114,7 +114,7 @@ extern "C" {
 #define cuGLGetDevices cuGLGetDevices_v2
 
 /* Types. */
-#if defined(__x86_64) || defined(AMD64) || defined(_M_AMD64)
+#if defined(__x86_64) || defined(AMD64) || defined(_M_AMD64) || defined (__aarch64__)
 typedef unsigned long long CUdeviceptr;
 #else
 typedef unsigned int CUdeviceptr;