Do not import OpenCL namespace if "EXPERIMENTAL" is not defined.

This commit is contained in:
the_fiddler 2010-10-04 08:40:57 +00:00
parent 4f1e320894
commit 6c2cf0e7fd

View file

@ -1,11 +1,13 @@
using System;
#if EXPERIMENTAL
using System;
using System.Collections.Generic;
using System.Text;
using OpenTK.Compute.CL10;
namespace Examples
{
#if EXPERIMENTAL
using cl_context = IntPtr;
using cl_device_id = IntPtr;
using cl_command_queue = IntPtr;
@ -138,5 +140,6 @@ vectorAdd(__global const float * a,
}
}
}
#endif
}
#endif