From 411fb45b8068541f5f40a595621af0b7d1765eb8 Mon Sep 17 00:00:00 2001 From: Stan Seibert Date: Mon, 28 Jan 2013 21:03:41 -0500 Subject: Mark one of the propagate functions as __noinline__ to work around bug where cicc hangs during compilation. --- chroma/cuda/photon.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chroma/cuda/photon.h b/chroma/cuda/photon.h index 00aee95..7c5c788 100644 --- a/chroma/cuda/photon.h +++ b/chroma/cuda/photon.h @@ -284,7 +284,7 @@ int propagate_to_boundary(Photon &p, State &s, curandState &rng, } // propagate_to_boundary -__device__ void +__noinline__ __device__ void propagate_at_boundary(Photon &p, State &s, curandState &rng) { float incident_angle = get_theta(s.surface_normal,-p.direction); -- cgit