Date: Sun, 9 Sep 2018 01:10:24 +0200 From: CeDeROM <cederom@tlen.pl> To: "Steve O'Hara-Smith" <steve@sohara.org>, cpghost@cordula.ws Cc: galtsev@kicp.uchicago.edu, FreeBSD Questions Mailing List <freebsd-questions@freebsd.org>, FreeBSD Stable <freebsd-stable@freebsd.org>, freebsd-x11@freebsd.org Subject: Re: FreeBSD OpenCL/CUDA nVidia Message-ID: <CAFYkXjmYAGMN8CxXbmoXmyztKoXyLmkHkOi-ZY=ABe0US0-tsA@mail.gmail.com> In-Reply-To: <CAFYkXjm1ruUdtBeraEHbCTYqi00RRwsipph8C6_xRJ5dfUdvag@mail.gmail.com> References: <CAFYkXj=vMHsd6YXTEWhLvH7Xz4L6UwdfrFWqRj0rj4rS7UtE5Q@mail.gmail.com> <CABHD1wTN9gzQbfURNGqsqEv36QYQh60EZvNFzNO4c-X47G_sPw@mail.gmail.com> <CAFYkXjnBWjwUfiOFbqARrX9HNpJRWVEiSsHcC79Yd7Ec75QOBQ@mail.gmail.com> <SN1PR20MB210901AA55C18138EB2206B5800E0@SN1PR20MB2109.namprd20.prod.outlook.com> <CAFYkXjnynmiykYnENt5KDQs%2Bweo=V96na7OVHv5y0FiKAMNb=Q@mail.gmail.com> <f3825f59-e565-133d-7828-15f297c9a437@kicp.uchicago.edu> <CAFYkXjmZcus_eQ4bCfh6qSZaVvDhboej7BCVHQi6R9wtS4QiOg@mail.gmail.com> <20180902114502.e59ab940d98cd43cd6f1ca11@sohara.org> <CAFYkXj=RybhQ4yVXOmUw1vEyBj8HuZgEeJA6paMW3c8Fz0Qbzg@mail.gmail.com> <CAFYkXjm1ruUdtBeraEHbCTYqi00RRwsipph8C6_xRJ5dfUdvag@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Just to conclude: NVIDIA SUX - just as most of you stated no support from nVidia to Open-Source and more interesting OpenCL applications of their GPU - after almost 15 years of being loyal customer (purchased 5+ cards and recommended to others) I say GOODBYE NVIDIA WILL NOT RECOMMEND YOU TO ANYONE ANYMORE! ATI/AMD RADEON ROX - I have just bought RADEON RX 580 and OpenCL seems available here - HELLO AMD RADEON - you have just re-gained old customer I missed your smooth edges and better colors :-) # clinfo Number of platforms 2 Platform Name Clover Platform Vendor Mesa Platform Version OpenCL 1.1 Mesa 18.1.5 Platform Profile FULL_PROFILE Platform Extensions cl_khr_icd Platform Extensions function suffix MESA Platform Name Portable Computing Language Platform Vendor The pocl project Platform Version OpenCL 2.0 pocl 0.14, LLVM 4.0.1 Platform Profile FULL_PROFILE Platform Extensions cl_khr_icd Platform Extensions function suffix POCL Platform Name Clover Number of devices 1 Device Name Radeon RX 580 Series (POLARIS10, DRM 3.8.0, 11.2-RELEASE-p2, LLVM 6.0.1) Device Vendor AMD Device Vendor ID 0x1002 Device Version OpenCL 1.1 Mesa 18.1.5 Driver Version 18.1.5 Device OpenCL C Version OpenCL C 1.1 Device Type GPU Device Profile FULL_PROFILE Max compute units 36 Max clock frequency 1366MHz Max work item dimensions 3 Max work item sizes 256x256x256 Max work group size 256 Preferred work group size multiple 64 Preferred / native vector sizes char 16 / 16 short 8 / 8 int 4 / 4 long 2 / 2 half 8 / 8 (cl_khr_fp16) float 4 / 4 double 2 / 2 (cl_khr_fp64) Half-precision Floating-point support (cl_khr_fp16) Denormals No Infinity and NANs Yes Round to nearest Yes Round to zero No Round to infinity No IEEE754-2008 fused multiply-add No Support is emulated in software No Correctly-rounded divide and sqrt operations No Single-precision Floating-point support (core) Denormals No Infinity and NANs Yes Round to nearest Yes Round to zero No Round to infinity No IEEE754-2008 fused multiply-add No Support is emulated in software No Correctly-rounded divide and sqrt operations No Double-precision Floating-point support (cl_khr_fp64) Denormals Yes Infinity and NANs Yes Round to nearest Yes Round to zero Yes Round to infinity Yes IEEE754-2008 fused multiply-add Yes Support is emulated in software No Correctly-rounded divide and sqrt operations No Address bits 64, Little-Endian Global memory size 8552468480 (7.965GiB) Error Correction support No Max memory allocation 7697221632 (7.169GiB) Unified memory for Host and Device No Minimum alignment for any data type 128 bytes Alignment of base address 32768 bits (4096 bytes) Global Memory cache type None Image support No Local memory type Local Local memory size 32768 (32KiB) Max constant buffer size 2147483647 (2GiB) Max number of constant args 16 Max size of kernel argument 1024 Queue properties Out-of-order execution No Profiling Yes Profiling timer resolution 0ns Execution capabilities Run OpenCL kernels Yes Run native kernels No Device Available Yes Compiler Available Yes Device Extensions cl_khr_byte_addressable_store 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_int64_base_atomics cl_khr_int64_extended_atomics cl_khr_fp64 cl_khr_fp16 Platform Name Portable Computing Language Number of devices 1 Device Name AMD Phenom(tm) II X6 1090T Processor Device Vendor pocl Device Vendor ID 0x1002 Device Version OpenCL 2.0 pocl HSTR: pthread-x86_64-portbld-freebsd11.1-westmere Driver Version 0.14 Device OpenCL C Version OpenCL C 2.0 Device Type CPU, Default Device Profile FULL_PROFILE Max compute units 6 Max clock frequency 3200MHz Device Partition (core) Max number of sub-devices 6 Supported partition types equally, by counts Max work item dimensions 3 Max work item sizes 4096x4096x4096 Max work group size 4096 Preferred work group size multiple 8 Preferred / native vector sizes char 16 / 16 short 8 / 8 int 4 / 4 long 2 / 2 half 8 / 8 (n/a) float 4 / 4 double 2 / 2 (cl_khr_fp64) Half-precision Floating-point support (n/a) Single-precision Floating-point support (core) Denormals No Infinity and NANs Yes Round to nearest Yes Round to zero No Round to infinity No IEEE754-2008 fused multiply-add No Support is emulated in software No Correctly-rounded divide and sqrt operations No Double-precision Floating-point support (cl_khr_fp64) Denormals No Infinity and NANs Yes Round to nearest Yes Round to zero No Round to infinity No IEEE754-2008 fused multiply-add No Support is emulated in software No Correctly-rounded divide and sqrt operations No Address bits 64, Little-Endian Global memory size 19033886720 (17.73GiB) Error Correction support No Max memory allocation 19033886720 (17.73GiB) Unified memory for Host and Device Yes Shared Virtual Memory (SVM) capabilities (core) Coarse-grained buffer sharing Yes Fine-grained buffer sharing Yes Fine-grained system sharing No Atomics Yes Minimum alignment for any data type 128 bytes Alignment of base address 1024 bits (128 bytes) Preferred alignment for atomics SVM 0 bytes Global 0 bytes Local 0 bytes Max size for global variable 0 Preferred total size of global vars 0 Global Memory cache type Read/Write Global Memory cache size 65536 Global Memory cache line 64 bytes Image support Yes Max number of samplers per kernel 16 Max size for 1D images from buffer 1189617920 pixels Max 1D or 2D image array size 2048 images Max 2D image size 32768x32768 pixels Max 3D image size 2048x2048x2048 pixels Max number of read image args 128 Max number of write image args 128 Max number of read/write image args 128 Max number of pipe args 16 Max active pipe reservations 1 Max pipe packet size 1024 Local memory type Global Local memory size 19033886720 (17.73GiB) Max constant buffer size 19033886720 (17.73GiB) Max number of constant args 8 Max size of kernel argument 1024 Queue properties (on host) Out-of-order execution No Profiling Yes Queue properties (on device) Out-of-order execution Yes Profiling Yes Preferred size 16384 (16KiB) Max size 262144 (256KiB) Max queues on device 1 Max events on device 1024 Prefer user sync for interop Yes Profiling timer resolution 1ns Execution capabilities Run OpenCL kernels Yes Run native kernels Yes SPIR versions 1.2 printf() buffer size 1048576 (1024KiB) Built-in kernels Device Available Yes Compiler Available Yes Linker Available Yes Device Extensions cl_khr_byte_addressable_store 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_spir cl_khr_int64 cl_khr_fp64 cl_khr_int64_base_atomics cl_khr_int64_extended_atomics NULL platform behavior clGetPlatformInfo(NULL, CL_PLATFORM_NAME, ...) Clover clGetDeviceIDs(NULL, CL_DEVICE_TYPE_ALL, ...) Success [MESA] clCreateContext(NULL, ...) [default] Success [MESA] clCreateContext(NULL, ...) [other] Success [POCL] clCreateContextFromType(NULL, CL_DEVICE_TYPE_CPU) No devices found in platform clCreateContextFromType(NULL, CL_DEVICE_TYPE_GPU) Success (1) Platform Name Clover Device Name Radeon RX 580 Series (POLARIS10, DRM 3.8.0, 11.2-RELEASE-p2, LLVM 6.0.1) clCreateContextFromType(NULL, CL_DEVICE_TYPE_ACCELERATOR) No devices found in platform clCreateContextFromType(NULL, CL_DEVICE_TYPE_CUSTOM) No devices found in platform clCreateContextFromType(NULL, CL_DEVICE_TYPE_ALL) Success (1) Platform Name Clover Device Name Radeon RX 580 Series (POLARIS10, DRM 3.8.0, 11.2-RELEASE-p2, LLVM 6.0.1) ICD loader properties ICD loader Name OpenCL ICD Loader ICD loader Vendor OCL Icd free software ICD loader Version 2.2.12 ICD loader Profile OpenCL 2.2 NOTE: your OpenCL library declares to support OpenCL 2.2, but it seems to support up to OpenCL 2.1 only. Segmentation fault (core dumped) <--- ;-) Except DRM and AMDGPU firmware it still needs some more tweaking, but this is clearly a proof of hardware vendor support for Open-Source Community :-) "It's not Open-Source if not runs on FreeBSD"^TM :-) Thank you folks! :-) Tomek -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFYkXjmYAGMN8CxXbmoXmyztKoXyLmkHkOi-ZY=ABe0US0-tsA>