can compile importance sampling kernel