Vous n'êtes pas identifié(e).
L'icône rouge permet de télécharger chaque page du wiki visitée au format PDF et la grise au format ODT →
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentes Révision précédente Prochaine révision | Révision précédente Prochaine révision Les deux révisions suivantes | ||
atelier:chantier:opencl-avec-amd [10/06/2020 16:45] Debian Alain [Introduction] |
atelier:chantier:opencl-avec-amd [23/09/2020 11:24] Debian Alain [Préambule] |
||
---|---|---|---|
Ligne 3: | Ligne 3: | ||
* Objet : installer openCL sur debian carte AMD | * Objet : installer openCL sur debian carte AMD | ||
* Niveau requis : débutant avisé | * Niveau requis : débutant avisé | ||
- | * Commentaires : //installation du pilote openCL pour carte AMD et BLENDER 2.82a sur DEBIAN TESTING BULLSEYE // | + | * Commentaires : //openCL pour carte AMD Radeon RX 5xx et BLENDER 2.82a sur DEBIAN TESTING BULLSEYE // |
* Débutant, à savoir : [[:doc:systeme:commandes:le_debianiste_qui_papillonne|Utiliser NU/Linux en ligne de commande, tout commence là !.]] :-) | * Débutant, à savoir : [[:doc:systeme:commandes:le_debianiste_qui_papillonne|Utiliser NU/Linux en ligne de commande, tout commence là !.]] :-) | ||
* Suivi : {{tag>en-chantier à-tester à-placer}} - FIXME Pour choisir, voir les autres Tags possibles dans [[:atelier:#tags|l'Atelier]]. | * Suivi : {{tag>en-chantier à-tester à-placer}} - FIXME Pour choisir, voir les autres Tags possibles dans [[:atelier:#tags|l'Atelier]]. | ||
Ligne 49: | Ligne 49: | ||
petite bibliographie dtrx : | petite bibliographie dtrx : | ||
- | |||
- | [[https://memo-linux.com/dtrx-ou-la-decompression-facile-en-ligne-de-commande-sous-gnulinux/| dtrx ou la décompression facile en ligne de commande]] | ||
[[https://packages.debian.org/fr/buster/dtrx|Paquet : dtrx (buster)]] | [[https://packages.debian.org/fr/buster/dtrx|Paquet : dtrx (buster)]] | ||
+ | |||
+ | [[https://github.com/moonpyk/dtrx|dtrx github]] | ||
===== Préambule ===== | ===== Préambule ===== | ||
- | <note important>Un conseil : travaillez dans le répertoire ~/Téléchargements , c'est plus sûr .</note> | + | <note tip>Un conseil : travaillez dans le répertoire ~/Téléchargements , c'est plus sûr . |
- | <code user>cd ~/Téléchargements/</code> | + | <code user>cd ~/Téléchargements/</code></note> |
- | d'abord , télécharger l'archive du pilote amdgpu-pro (version 19.50 pour ubuntu 18.04 LTS) : | + | <note warning>d'abord , télécharger , au choix , l'archive du pilote amdgpu-pro : |
+ | soit celle ci : (version 19.50 pour ubuntu 18.04 LTS) : | ||
<code user>wget --referer=https://www.amd.com/ -P $HOME/Téléchargements/ https://drivers.amd.com/drivers/linux/19.50/amdgpu-pro-19.50-967956-ubuntu-18.04.tar.xz</code> | <code user>wget --referer=https://www.amd.com/ -P $HOME/Téléchargements/ https://drivers.amd.com/drivers/linux/19.50/amdgpu-pro-19.50-967956-ubuntu-18.04.tar.xz</code> | ||
- | (version 20.10 pour ubuntu 18.04 LTS) : | + | soit celle là : (version 20.10 pour ubuntu 18.04 LTS) : |
<code user> wget --referer=https://www.amd.com/ -P $HOME/Téléchargements/ https://drivers.amd.com/drivers/linux/amdgpu-pro-20.10-1048554-ubuntu-18.04.tar.xz</code> | <code user> wget --referer=https://www.amd.com/ -P $HOME/Téléchargements/ https://drivers.amd.com/drivers/linux/amdgpu-pro-20.10-1048554-ubuntu-18.04.tar.xz</code> | ||
+ | |||
+ | la version 20.30 pour ubuntu 20.04.1 (non testé) | ||
+ | <code user> wget --referer=https://www.amd.com/ -P $HOME/Téléchargements/ https://drivers.amd.com/drivers/linux/amdgpu-pro-20.30-1109583-ubuntu-20.04.tar.xz</code> | ||
+ | </note> | ||
<note important>au cas où ce lien ne fonctionne pas , vous pouvez essayer de vous connecter en graphique là : | <note important>au cas où ce lien ne fonctionne pas , vous pouvez essayer de vous connecter en graphique là : | ||
+ | |||
+ | site AMD support : | ||
+ | |||
+ | <code>https://www.amd.com/fr/support</code> | ||
en manuel : | en manuel : | ||
Ligne 179: | Ligne 188: | ||
===== Installation ===== | ===== Installation ===== | ||
- | <note warning>commencer par se placer dans le répertoire Téléchargements</note> | + | <note tip>commencer par se placer dans le répertoire Téléchargements |
- | <code user>cd ~/Téléchargements/</code> | + | <code user>cd ~/Téléchargements/</code></note> |
on commence par créer l'arborescence : | on commence par créer l'arborescence : | ||
Ligne 222: | Ligne 231: | ||
voici quelques écrans que vous obtiendrez peut être à la fin de l'installation : | voici quelques écrans que vous obtiendrez peut être à la fin de l'installation : | ||
+ | |||
+ | tests fait avec la version 19.50 . | ||
+ | |||
+ | la version 20.10 donne le même résultat . | ||
+ | (légèrement updaté) | ||
==== AMD RX 550 4GB DDR5 ==== | ==== AMD RX 550 4GB DDR5 ==== | ||
Ligne 593: | Ligne 607: | ||
Max real-time compute queues (AMD) 0 | Max real-time compute queues (AMD) 0 | ||
Max real-time compute units (AMD) 575513232 | Max real-time compute units (AMD) 575513232 | ||
+ | SPIR versions 1.2 | ||
+ | printf() buffer size 4194304 (4MiB) | ||
+ | Built-in kernels (n/a) | ||
+ | Device Extensions cl_khr_fp64 cl_amd_fp64 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_3d_image_writes cl_khr_byte_addressable_store cl_khr_fp16 cl_khr_gl_sharing cl_amd_device_attribute_query cl_amd_vec3 cl_amd_printf cl_amd_media_ops cl_amd_media_ops2 cl_amd_popcnt cl_khr_image2d_from_buffer cl_khr_spir cl_khr_gl_event | ||
+ | |||
+ | NULL platform behavior | ||
+ | clGetPlatformInfo(NULL, CL_PLATFORM_NAME, ...) No platform | ||
+ | clGetDeviceIDs(NULL, CL_DEVICE_TYPE_ALL, ...) No platform | ||
+ | clCreateContext(NULL, ...) [default] No platform | ||
+ | clCreateContext(NULL, ...) [other] Success [AMD] | ||
+ | clCreateContextFromType(NULL, CL_DEVICE_TYPE_DEFAULT) Success (1) | ||
+ | Platform Name AMD Accelerated Parallel Processing | ||
+ | Device Name Ellesmere | ||
+ | clCreateContextFromType(NULL, CL_DEVICE_TYPE_CPU) No devices found in platform | ||
+ | clCreateContextFromType(NULL, CL_DEVICE_TYPE_GPU) Success (1) | ||
+ | Platform Name AMD Accelerated Parallel Processing | ||
+ | Device Name Ellesmere | ||
+ | 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 AMD Accelerated Parallel Processing | ||
+ | Device Name Ellesmere | ||
+ | </code> | ||
+ | |||
+ | ==== pilote 20.10 CL Info ==== | ||
+ | <code user>clinfo</code> | ||
+ | <code>Number of platforms 1 | ||
+ | Platform Name AMD Accelerated Parallel Processing | ||
+ | Platform Vendor Advanced Micro Devices, Inc. | ||
+ | Platform Version OpenCL 2.1 AMD-APP (3075.10) | ||
+ | Platform Profile FULL_PROFILE | ||
+ | Platform Extensions cl_khr_icd cl_amd_event_callback cl_amd_offline_devices | ||
+ | Platform Host timer resolution 1ns | ||
+ | Platform Extensions function suffix AMD | ||
+ | |||
+ | Platform Name AMD Accelerated Parallel Processing | ||
+ | Number of devices 1 | ||
+ | Device Name Ellesmere | ||
+ | Device Vendor Advanced Micro Devices, Inc. | ||
+ | Device Vendor ID 0x1002 | ||
+ | Device Version OpenCL 1.2 AMD-APP (3075.10) | ||
+ | Driver Version 3075.10 | ||
+ | Device OpenCL C Version OpenCL C 1.2 | ||
+ | Device Type GPU | ||
+ | Device Board Name (AMD) Radeon RX 570 Series | ||
+ | Device Topology (AMD) PCI-E, 0b:00.0 | ||
+ | Device Profile FULL_PROFILE | ||
+ | Device Available Yes | ||
+ | Compiler Available Yes | ||
+ | Linker Available Yes | ||
+ | Max compute units 32 | ||
+ | SIMD per compute unit (AMD) 4 | ||
+ | SIMD width (AMD) 16 | ||
+ | SIMD instruction width (AMD) 1 | ||
+ | Max clock frequency 1244MHz | ||
+ | Graphics IP (AMD) 8.0 | ||
+ | Device Partition (core) | ||
+ | Max number of sub-devices 32 | ||
+ | Supported partition types None | ||
+ | Supported affinity domains (n/a) | ||
+ | Max work item dimensions 3 | ||
+ | Max work item sizes 1024x1024x1024 | ||
+ | Max work group size 256 | ||
+ | Preferred work group size (AMD) 256 | ||
+ | Max work group size (AMD) 1024 | ||
+ | Preferred work group size multiple 64 | ||
+ | Wavefront width (AMD) 64 | ||
+ | Preferred / native vector sizes | ||
+ | char 4 / 4 | ||
+ | short 2 / 2 | ||
+ | int 1 / 1 | ||
+ | long 1 / 1 | ||
+ | half 1 / 1 (cl_khr_fp16) | ||
+ | float 1 / 1 | ||
+ | double 1 / 1 (cl_khr_fp64) | ||
+ | Half-precision Floating-point support (cl_khr_fp16) | ||
+ | Denormals No | ||
+ | Infinity and NANs No | ||
+ | Round to nearest No | ||
+ | Round to zero No | ||
+ | Round to infinity No | ||
+ | IEEE754-2008 fused multiply-add No | ||
+ | Support is emulated in software No | ||
+ | Single-precision Floating-point support (core) | ||
+ | Denormals No | ||
+ | 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 Yes | ||
+ | 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 | ||
+ | Address bits 64, Little-Endian | ||
+ | Global memory size 8022630400 (7.472GiB) | ||
+ | Global free memory (AMD) 7815016 (7.453GiB) | ||
+ | Global memory channels (AMD) 8 | ||
+ | Global memory banks per channel (AMD) 16 | ||
+ | Global memory bank width (AMD) 256 bytes | ||
+ | Error Correction support No | ||
+ | Max memory allocation 4244635648 (3.953GiB) | ||
+ | Unified memory for Host and Device No | ||
+ | Minimum alignment for any data type 128 bytes | ||
+ | Alignment of base address 2048 bits (256 bytes) | ||
+ | Global Memory cache type Read/Write | ||
+ | Global Memory cache size 16384 (16KiB) | ||
+ | Global Memory cache line size 64 bytes | ||
+ | Image support Yes | ||
+ | Max number of samplers per kernel 16 | ||
+ | Max size for 1D images from buffer 134217728 pixels | ||
+ | Max 1D or 2D image array size 2048 images | ||
+ | Base address alignment for 2D image buffers 256 bytes | ||
+ | Pitch alignment for 2D image buffers 256 pixels | ||
+ | Max 2D image size 16384x16384 pixels | ||
+ | Max 3D image size 2048x2048x2048 pixels | ||
+ | Max number of read image args 128 | ||
+ | Max number of write image args 8 | ||
+ | Local memory type Local | ||
+ | Local memory size 32768 (32KiB) | ||
+ | Local memory syze per CU (AMD) 65536 (64KiB) | ||
+ | Local memory banks (AMD) 32 | ||
+ | Max number of constant args 8 | ||
+ | Max constant buffer size 4244635648 (3.953GiB) | ||
+ | Preferred constant buffer size (AMD) 16384 (16KiB) | ||
+ | Max size of kernel argument 1024 | ||
+ | Queue properties | ||
+ | Out-of-order execution No | ||
+ | Profiling Yes | ||
+ | Prefer user sync for interop Yes | ||
+ | Profiling timer resolution 1ns | ||
+ | Profiling timer offset since Epoch (AMD) 1591853725436918849ns (Thu Jun 11 07:35:25 2020) | ||
+ | Execution capabilities | ||
+ | Run OpenCL kernels Yes | ||
+ | Run native kernels No | ||
+ | Thread trace supported (AMD) Yes | ||
+ | Number of async queues (AMD) 2 | ||
+ | Max real-time compute queues (AMD) 0 | ||
+ | Max real-time compute units (AMD) 909198854 | ||
SPIR versions 1.2 | SPIR versions 1.2 | ||
printf() buffer size 4194304 (4MiB) | printf() buffer size 4194304 (4MiB) |