summaryrefslogtreecommitdiff
path: root/chroma/cuda/mesh.h
diff options
context:
space:
mode:
Diffstat (limited to 'chroma/cuda/mesh.h')
-rw-r--r--chroma/cuda/mesh.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/chroma/cuda/mesh.h b/chroma/cuda/mesh.h
index c52a241..d1381c3 100644
--- a/chroma/cuda/mesh.h
+++ b/chroma/cuda/mesh.h
@@ -112,9 +112,9 @@ intersect_mesh(const float3 &origin, const float3& direction, Geometry *g,
} // while nodes on stack
- //if (threadIdx.x == 0) {
- //printf("node count: %d\n", count);
- //printf("triangle count: %d\n", tri_count);
+ //if (blockIdx.x == 0 && threadIdx.x == 0) {
+ // printf("node count: %d\n", count);
+ // printf("triangle count: %d\n", tri_count);
//}
return triangle_index;