templated tessellation cache over input bvh to allow code sharing with MIC