move optimized kernel enqueue into a separate call