OSL is CPU only.
You need an OSL script node pointing at an OSL shader to employ OSL rendering.
An example:
The OSL node has been renamed fresnel_interference and will look different depending on the OSL shader file in the text field. Youtube a tutorial or try the manual.