summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/kernel.cu2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kernel.cu b/src/kernel.cu
index 17b829c..fe518f6 100644
--- a/src/kernel.cu
+++ b/src/kernel.cu
@@ -17,7 +17,7 @@ __device__ void fAtomicAdd(float *addr, float data)
}
}
-__device__ __noinline__ void to_diffuse(Photon &p, State &s, curandState &rng, const int &max_steps)
+__device__ void to_diffuse(Photon &p, State &s, curandState &rng, const int &max_steps)
{
int steps = 0;
while (steps < max_steps)