Can you give details about your system setup: What GPU, SDK , Driver version?
IMHO, you want to check if there are any OpenCL compliant devices available in your system. You should use clGetPlaformIds API for that.
Also please explain what you want to do by just detecting OpenCL. From C# perpective I guess there is a project that provided bindings for it.