.cl código fuente en OpenCL
Texto y código fuente
| Tipo MIME | text/x-opencl-src |
|---|---|
| Descripción | código fuente en OpenCL |
| Sigla | OpenCL – Open Computing Language |
| Categoría | Texto y código fuente |
| Basado en | text/x-csrc |
Preguntas frecuentes
¿Qué es un archivo .cl?
Un archivo .cl es un formato de tipo «código fuente en OpenCL» (tipo MIME text/x-opencl-src). OpenCL significa Open Computing Language.
¿Cómo abro un archivo .cl?
Con cualquier editor de texto: Notepad++, Visual Studio Code, o gedit y vim en Linux. El archivo contiene texto legible, posiblemente código fuente o configuración.
¿Cómo se reconoce un archivo .cl auténtico?
Para este formato no hay una firma fija registrada al inicio del archivo; se reconoce sobre todo por la extensión. En Linux y macOS, file --mime-type example.cl muestra el tipo probable.
¿En qué formato se basa .cl?
Técnicamente, un archivo .cl es un subtipo de «código fuente en C» (text/x-csrc), por lo que los programas para ese formato base a menudo también pueden leerlo.
¿Qué tipo MIME corresponde a .cl?
El tipo MIME es text/x-opencl-src. En el servidor web Apache: AddType text/x-opencl-src .cl; en nginx: types { text/x-opencl-src cl; }.