text/x-opencl-src
OpenCL source code
| Description | OpenCL source code |
|---|---|
| File extensions | .cl |
| Based on | text/x-csrc |
Frequently asked questions
What is the MIME type text/x-opencl-src?
text/x-opencl-src denotes “OpenCL source code”.
Which file extension does text/x-opencl-src use?
Files of type text/x-opencl-src usually end in .cl.
How does a web server serve text/x-opencl-src correctly?
With the header Content-Type: text/x-opencl-src. In nginx: types { text/x-opencl-src cl; }; in Apache: AddType text/x-opencl-src .cl.