Fix T49603: Blender/Cycles 2.78 CUDA error on Jetson-TX1~

Patch by Bruno d'Arcangeli (@arcangeli), thanks!
This commit is contained in:
Sergey Sharybin 2017-03-08 13:38:01 +01:00
parent c24d045a23
commit 05dfe9c318
Notes: blender-bot 2023-02-14 11:08:33 +01:00
Referenced by issue #49603, Blender/Cycles 2.78 CUDA error on Jetson-TX1
1 changed files with 1 additions and 1 deletions

View 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;