whole patch for webcl.