 			nodeid = (int)node1.w;
 		}
 	}
+#endif
 
 	return (isect->objid >= 0);
 }

	float t_min = AT_MATH_EPSILON;

	bool isHit = intersectBVH<idaten::IntersectType::Closer>(
		ctxt->nodes[0],
		ctxt,
		r,
		t_min, t_max,

	return (isect->objid >= 0);
}

#define ENABLE_PLANE_LOOP_BVH

template <idaten::IntersectType Type>
AT_CUDA_INLINE __device__ bool intersectBVH(
	const Context* ctxt,
	const aten::ray r,
	float t_min, float t_max,
