OpenCL is a tool that will enable you to perform parallel general-purpose computing on GPUs or other compliant hardware accelerators.
If your program uses OpenCL and it fails to work properly after installing OpenCL, you can handle it in the following way:
First, check if the nvidia-opencl dynamic link library exists:
bash
ldconfig -p | grep nvidia-opencl
If there is output, it means the library exists (if it does not exist, there is an issue with the system environment; please contact customer service). Then execute the following commands:
Finally, check again if OpenCL can be used normally. If it still cannot be used, please contact customer service.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Mint Starter Kit","description":"GPUhub Documentation","colors":{"primary":"#964CEF","light":"#C493FF","dark":"#6F27C5"},"logo":{"light":"https://mintcdn.com/gpuhub/wL6E4LFUzA6FP7VX/logo/light.svg?fit=max\u0026auto=format\u0026n=wL6E4LFUzA6FP7VX\u0026q=85\u0026s=aac94265738621a43d2d2a5afabe6f38","dark":"https://mintcdn.com/gpuhub/wL6E4LFUzA6FP7VX/logo/dark.svg?fit=max\u0026auto=format\u0026n=wL6E4LFUzA6FP7VX\u0026q=85\u0026s=c7adcf4558f6b6c73111f89fbcb71cb2"},"favicon":"https://mintcdn.com/gpuhub/swpOJzF6Pn2RHDvu/favicon.svg?fit=max\u0026auto=format\u0026n=swpOJzF6Pn2RHDvu\u0026q=85\u0026s=506e325d2301a7ffe9c2336439347e47","appearance":{"default":"system"},"navbar":{"links":[{"href":"mailto:support@gpuhub.com","label":"Support"}],"primary":{"type":"button","label":"Console","href":"https://gpuhub.com/"}},"footer":{"socials":{"x":"https://x.com/gpuhubnews","github":"https://github.com/gpuhub-source","linkedin":"https://www.linkedin.com/company/106417537","discord":"https://discord.gg/PVdwkynM75","youtube":"https://www.youtube.com/channel/UC2qUAYW-gmjBjs_DAZbpGlg"}},"search":{"prompt":"Select the GPU suits your purpose and scenario"},"integrations":{"ga4":{"measurementId":"G-KDSJ905XX7"}},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"Discord","icon":"discord","href":"https://discord.gg/PVdwkynM75"},{"anchor":"Telegram","icon":"telegram","href":"https://t.me/+x1igBQ49Z0NkN2E1"},{"anchor":"X","icon":"x-twitter","href":"https://x.com/hub_gpu"},{"anchor":"YouTube","icon":"youtube","href":"https://www.youtube.com/channel/UC2qUAYW-gmjBjs_DAZbpGlg"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"gpuhub","hasAudioNarration":false,"actualSubdomain":"gpuhub","customDomains":["docs.gpuhub.com"],"gitSource":{"type":"github","owner":"narwal99","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"entitlements":{},"buildId":"6ae1c36d8a46f6fe5a22603e","clientVersion":"0.0.4094","searchFilterCounts":[{"language":"default","tag":"AI Gateway","count":22},{"language":"default","tag":"Guides","count":20},{"language":"default","tag":"Best Practices","count":19},{"language":"default","tag":"LLMs","count":15},{"language":"default","tag":"Instance","count":13},{"language":"default","tag":"Elastic Deployment","count":9},{"language":"default","tag":"FAQ","count":8},{"language":"default","tag":"Frequently Asked Question","count":8},{"language":"default","tag":"Terms of Service","count":8},{"language":"default","tag":"Tools \u0026 Environment","count":7}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"comment-mode","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":".max-w-8xl{max-width:100%!important}.pl-4{text-transform:uppercase}.eyebrow{text-transform:uppercase}"}],"page":{"pagePath":"best-practices/opencl","slug":"/best-practices/opencl","pageMetadata":{"title":"OpenCL","description":"OpenCL is a tool that will enable you to perform parallel general-purpose computing on GPUs or other compliant hardware accelerators.","href":"/best-practices/opencl"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"OpenCL is a tool that will enable you to perform parallel general-purpose computing on GPUs or other compliant hardware accelerators.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,p:`p`,pre:`pre`,span:`span`,..._provideComponents(),...props.components},{CodeBlock,OptimizedImage}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!OptimizedImage)_missingMdxReference(`OptimizedImage`,true);return _jsxs(_Fragment,{children:[_jsx(OptimizedImage,{src:`https://mintcdn.com/gpuhub/r1V0ko0l9sh4RwWM/images/logo-opencl.png?fit=max\u0026auto=format\u0026n=r1V0ko0l9sh4RwWM\u0026q=85\u0026s=564272472b016913622e3f5c4bc4278c`,alt:``,\"data-og-width\":`143`,width:`143`,\"data-og-height\":`64`,height:`64`,\"data-path\":`images/logo-opencl.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/gpuhub/r1V0ko0l9sh4RwWM/images/logo-opencl.png?w=280\u0026fit=max\u0026auto=format\u0026n=r1V0ko0l9sh4RwWM\u0026q=85\u0026s=bfd0f798c4bfdff18b40a97bb038b7b4 280w, https://mintcdn.com/gpuhub/r1V0ko0l9sh4RwWM/images/logo-opencl.png?w=560\u0026fit=max\u0026auto=format\u0026n=r1V0ko0l9sh4RwWM\u0026q=85\u0026s=f38b9e47d5add833abe6f8d51661ff6d 560w, https://mintcdn.com/gpuhub/r1V0ko0l9sh4RwWM/images/logo-opencl.png?w=840\u0026fit=max\u0026auto=format\u0026n=r1V0ko0l9sh4RwWM\u0026q=85\u0026s=4217011759a873ef45b5c38024631e03 840w, https://mintcdn.com/gpuhub/r1V0ko0l9sh4RwWM/images/logo-opencl.png?w=1100\u0026fit=max\u0026auto=format\u0026n=r1V0ko0l9sh4RwWM\u0026q=85\u0026s=a2e274cb333d149d3705c3aca7ed938f 1100w, https://mintcdn.com/gpuhub/r1V0ko0l9sh4RwWM/images/logo-opencl.png?w=1650\u0026fit=max\u0026auto=format\u0026n=r1V0ko0l9sh4RwWM\u0026q=85\u0026s=1b1756d9dacfc871461e5089c3f29d73 1650w, https://mintcdn.com/gpuhub/r1V0ko0l9sh4RwWM/images/logo-opencl.png?w=2500\u0026fit=max\u0026auto=format\u0026n=r1V0ko0l9sh4RwWM\u0026q=85\u0026s=aa0755df0fb3660e20c2f74b667d1398 2500w`}),`\n`,_jsx(_components.p,{children:`If your program uses OpenCL and it fails to work properly after installing OpenCL, you can handle it in the following way:\nFirst, check if the nvidia-opencl dynamic link library exists:`}),`\n`,_jsx(CodeBlock,{filename:`bash`,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`ldconfig -p | grep nvidia-opencl`})}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`If there is output, it means the library exists (if it does not exist, there is an issue with the system environment; please contact customer service). Then execute the following commands:`}),`\n`,_jsx(CodeBlock,{filename:`bash`,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`mkdir`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` -p /etc/OpenCL/vendors`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`echo`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"libnvidia-opencl.so.1\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` > /etc/OpenCL/vendors/nvidia.icd`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`Finally, check again if OpenCL can be used normally. If it still cannot be used, please contact customer service.`})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"OpenCL","description":"OpenCL is a tool that will enable you to perform parallel general-purpose computing on GPUs or other compliant hardware accelerators.","href":"/best-practices/opencl"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":["/_mintlify/custom/gpuhub/1b3d72170abac531/package/index.js"],"subdomain":"gpuhub","siteName":"Mint Starter Kit","title":"OpenCL - Mint Starter Kit","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2025-10-30T11:51:04.322Z","originalFileLocation":"best-practices/opencl.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"OpenCL is a tool that will enable you to perform parallel general-purpose computing on GPUs or other compliant hardware accelerators.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Mint Starter Kit\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/gpuhub/EOX3nZxGtcIJhBZL/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/gpuhub/EOX3nZxGtcIJhBZL/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/gpuhub/EOX3nZxGtcIJhBZL/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/gpuhub/EOX3nZxGtcIJhBZL/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/gpuhub/EOX3nZxGtcIJhBZL/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/gpuhub/EOX3nZxGtcIJhBZL/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/gpuhub/EOX3nZxGtcIJhBZL/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/gpuhub/EOX3nZxGtcIJhBZL/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/gpuhub/EOX3nZxGtcIJhBZL/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"OpenCL - Mint Starter Kit\">\u003cmeta data-mint-head property=\"og:description\" content=\"OpenCL is a tool that will enable you to perform parallel general-purpose computing on GPUs or other compliant hardware accelerators.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Mint Starter Kit\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.gpuhub.com/best-practices/opencl\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://gpuhub.mintlify.site/_mintlify/api/og/v2?division=AI+%26+ML\u0026amp;title=OpenCL\u0026amp;description=OpenCL+is+a+tool+that+will+enable+you+to+perform+parallel+general-purpose+computing+on+GPUs+or+other+compliant+hardware+accelerators.\u0026amp;theme=4706c09e24807f6fe5a1ec81\u0026amp;signature=cf53dd397b309318a51920cc8260e3527ad89203c35e52b8503f96f4bb5e0751\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"OpenCL - Mint Starter Kit\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"OpenCL is a tool that will enable you to perform parallel general-purpose computing on GPUs or other compliant hardware accelerators.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://gpuhub.mintlify.site/_mintlify/api/og/v2?division=AI+%26+ML\u0026amp;title=OpenCL\u0026amp;description=OpenCL+is+a+tool+that+will+enable+you+to+perform+parallel+general-purpose+computing+on+GPUs+or+other+compliant+hardware+accelerators.\u0026amp;theme=4706c09e24807f6fe5a1ec81\u0026amp;signature=cf53dd397b309318a51920cc8260e3527ad89203c35e52b8503f96f4bb5e0751\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/gpuhub/EOX3nZxGtcIJhBZL/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Mint Starter Kit\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#964CEF\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.gpuhub.com/best-practices/opencl\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/best-practices/opencl.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.gpuhub.com/#organization\",\"name\":\"Mint Starter Kit\",\"url\":\"https://docs.gpuhub.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/gpuhub/wL6E4LFUzA6FP7VX/logo/light.svg?fit=max\u0026auto=format\u0026n=wL6E4LFUzA6FP7VX\u0026q=85\u0026s=aac94265738621a43d2d2a5afabe6f38\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.gpuhub.com#website\",\"name\":\"Mint Starter Kit\",\"url\":\"https://docs.gpuhub.com\",\"publisher\":{\"@id\":\"https://docs.gpuhub.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.gpuhub.com/best-practices/opencl#webpage\",\"url\":\"https://docs.gpuhub.com/best-practices/opencl\",\"name\":\"OpenCL\",\"description\":\"OpenCL is a tool that will enable you to perform parallel general-purpose computing on GPUs or other compliant hardware accelerators.\",\"dateModified\":\"2025-10-30T11:51:04.322Z\",\"isPartOf\":{\"@id\":\"https://docs.gpuhub.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.gpuhub.com/best-practices/opencl#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.gpuhub.com/best-practices/opencl#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"AI \u0026 ML\",\"item\":\"https://docs.gpuhub.com/best-practices/huggingface\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"OpenCL\",\"item\":\"https://docs.gpuhub.com/best-practices/opencl\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.gpuhub.com/best-practices/opencl#article\",\"headline\":\"OpenCL\",\"name\":\"OpenCL\",\"description\":\"OpenCL is a tool that will enable you to perform parallel general-purpose computing on GPUs or other compliant hardware accelerators.\",\"url\":\"https://docs.gpuhub.com/best-practices/opencl\",\"mainEntityOfPage\":{\"@id\":\"https://docs.gpuhub.com/best-practices/opencl#webpage\"},\"dateModified\":\"2025-10-30T11:51:04.322Z\",\"publisher\":{\"@id\":\"https://docs.gpuhub.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.gpuhub.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Mint Starter Kit\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Mint Starter Kit","nav":{"global":{"anchors":[{"anchor":"Discord","icon":"discord","href":"https://discord.gg/PVdwkynM75"},{"anchor":"Telegram","icon":"telegram","href":"https://t.me/+x1igBQ49Z0NkN2E1"},{"anchor":"X","icon":"x-twitter","href":"https://x.com/hub_gpu"},{"anchor":"YouTube","icon":"youtube","href":"https://www.youtube.com/channel/UC2qUAYW-gmjBjs_DAZbpGlg"}]},"tabs":[{"tab":"Guides","pages":[{"title":"Guides","href":"/introduction"}]},{"tab":"Instance","pages":[{"title":"Instance","href":"/container-instance/overview"}]},{"tab":"Data","pages":[{"title":"Data","href":"/data/local-data-disk"}]},{"tab":"Environment","pages":[{"title":"Environment","href":"/environment/overview"}]},{"tab":"Best Practices","groups":[{"group":"Team \u0026 Collaboration","pages":[{"title":"Sub-Account","href":"/best-practices/sub-account"}]},{"group":"Tools \u0026 Environment","pages":[{"title":"Linux Basics","href":"/best-practices/linux-basics"},{"title":"VsCode","href":"/best-practices/vscode"},{"title":"PyCharm","href":"/best-practices/pycharm"},{"title":"R (Rstudio)","href":"/best-practices/rstudio"},{"title":"Gromacs","href":"/best-practices/gromacs"},{"title":"Visdom","href":"/best-practices/visdom"},{"title":"TensorBoard","href":"/best-practices/tensorboard"}]},{"group":"Network \u0026 Remote Connections","pages":[{"title":"SSH Tunnel","href":"/best-practices/ssh-tunnel"},{"title":"Filezilla","href":"/best-practices/filezilla"},{"title":"XShell","href":"/best-practices/xshell"}]},{"group":"AI \u0026 ML","pages":[{"title":"HuggingFace","description":"The platform where the machine learning community collaborates on models, datasets, and applications.","href":"/best-practices/huggingface"},{"title":"OpenCL","href":"/best-practices/opencl"},{"title":"Vulkan","description":"In machine learning applications, Vulkan can be used to accelerate image processing, data augmentation, and other tasks that require a large amount of parallel computation.","href":"/best-practices/vulkan"}]},{"group":"System Management","pages":[{"title":"Computational Precision","href":"/best-practices/computational-precision"},{"title":"Exposing Multiple Services","href":"/best-practices/exposing-multiple-services"}]},{"group":"Parallel \u0026 Optimization","pages":[{"title":"MPI","href":"/best-practices/mpi"},{"title":"Performance Tips","href":"/best-practices/performance"},{"title":"Cost-Saving Tips","href":"/best-practices/cost-saving"}]}]},{"tab":"Elastic Deployment","pages":[{"title":"Elastic Deployment","href":"/elastic-deployment/elastic-deployment"}]},{"tab":"API","pages":[{"title":"API","href":"/api-reference/api-authentication"}]},{"tab":"AI Gateway","pages":[{"title":"AI Gateway","href":"/ai-gateway/ai-gateway"}]},{"tab":"FAQ","pages":[{"title":"FAQ","href":"/faqs/system-disk-space-insufficient"}]}]},"basePath":"","title":"OpenCL - Mint Starter Kit","buildId":"dpl_42LwxxU1kGN114H4XzwGYXa9ZDah","deploymentId":"dpl_42LwxxU1kGN114H4XzwGYXa9ZDah","dynamics":["a74be98ba7"],"chunks":["zoom-image-lightbox-DkE6VzSN.js","lightbox-handle-r17bVUz3.js"]}