Fork channel

Create a new channel as a copy of main.

Rename channel

Rename main to:

Delete channel

Delete main? This cannot be undone.

opencl-extensions.cl
// RUN: %clang_cc1 -emit-pch -o %t %s -triple spir-unknown-unknown
// RUN: %clang_cc1 -include-pch %t -fsyntax-only %s  -triple spir-unknown-unknown

#ifndef HEADER
#define HEADER
// Header.

#pragma OPENCL EXTENSION cl_khr_fp64 : enable

#else
// Using the header.

void test(void) {
  double d;
}

#endif