
Single-precision Floating-point support (core)Ĭorrectly-rounded divide and sqrt operations Yesĭouble-precision Floating-point support (cl_khr_fp64) Half-precision Floating-point support (n/a) Platform Extensions cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_fp64 cl_khr_byte_addressable_store cl_khr_icd cl_khr_gl_sharing cl_nv_compiler_options cl_nv_device_attribute_query cl_nv_pragma_unroll cl_nv_copy_opts cl_nv_create_buffer Verify your OpenCL configuration :~$ clinfo

#Opencl benchmark linux install
So let's install the recommended driver along-with CUDA and the clinfo package mentioned earlier in this section: sudo apt install nvidia-driver-460 nvidia-cuda-toolkit clinfoĪfter all the above three packages are installed, restart your Ubuntu desktop/server. Model : GP107M ĭriver : nvidia-driver-460 - distro non-free recommendedĭriver : nvidia-driver-418-server - distro non-freeĭriver : nvidia-driver-390 - distro non-freeĭriver : nvidia-driver-450-server - distro non-freeĭriver : nvidia-driver-465 - distro non-freeĭriver : nvidia-driver-460-server - distro non-freeĭriver : xserver-xorg-video-nouveau - distro free builtinĪbove, note that the recommended driver is nvidia-driver-460. Use the ubuntu-drivers devices command to fetch the name of your recommended driver: :~$ ubuntu-drivers devices Let's see how: Check the recommended driver Finally, install the clinfo program to ensure you have OpenCL properly installed, showing you your NVIDIA GPU's OpenCL specifications in detail. The latter ensures you get the OpenCL framework bundled with it. On a fresh Ubuntu system, you need to first install the proprietary NVIDIA driver and CUDA.
#Opencl benchmark linux how to
Once that is done, I'll show you how to run Docker containers for the same purpose with the NVIDIA GPU.

I'll first show you how to ensure OpenCL works on your main Ubuntu desktop/server. Right on then, let's get to the details! Setting up OpenCL for NVIDIA GPUs Docker (for application specific usage).
#Opencl benchmark linux 64 Bit

You can write programs on OpenCL and run them on a variety of devices including CPUs, GPUs, FPGAs and a lot more. Due to its diverse nature of applicabilities across multiple platforms, it is most often referred to as a cross-platform computing language. It is a programming language that can be used across diverse platforms, primarily for accelerated computing. OpenCL is an abbreviated form for "Open Computing Language".
