From 3ed1c552bd7b6719a8ee8b5a8c22d817d1b1c31a Mon Sep 17 00:00:00 2001 From: Tanguy Pruvot Date: Thu, 5 Mar 2015 18:15:08 +0100 Subject: [PATCH] cuda: always disable asm for host code --- cuda_helper.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cuda_helper.h b/cuda_helper.h index 06349a8..892ae0a 100644 --- a/cuda_helper.h +++ b/cuda_helper.h @@ -166,7 +166,7 @@ do { \ } while (0) /*********************************************************************/ -#ifdef _WIN64 +#if !defined(__CUDA_ARCH__) || defined(_WIN64) #define USE_XOR_ASM_OPTS 0 #else #define USE_XOR_ASM_OPTS 1