From 3fd76d59eab3c012bf8a8d5e056e2855b9f3d14a Mon Sep 17 00:00:00 2001 From: Evghenii Date: Tue, 12 Nov 2013 11:32:42 +0100 Subject: [PATCH] +1 --- examples_cuda/aobench/ao1.ispc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/examples_cuda/aobench/ao1.ispc b/examples_cuda/aobench/ao1.ispc index 9a568fe9..bd46de06 100644 --- a/examples_cuda/aobench/ao1.ispc +++ b/examples_cuda/aobench/ao1.ispc @@ -286,6 +286,7 @@ static inline void ao_tile( #define TILEX 64 #define TILEY 4 +/* task will generate " __global__ " only */ void task ao_task(uniform int width, uniform int height, uniform int nsubsamples, uniform float image[]) { @@ -301,6 +302,7 @@ void task ao_task(uniform int width, uniform int height, } +/* export will generate "extern "C" __global__" an "__device__" */ export void ao_ispc_tasks(uniform int w, uniform int h, uniform int nsubsamples, uniform float image[]) {