enable graphite and exp opt for kernel