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 [12/12/2021 13:47] Debian Alain [Post Scriptum] |
atelier:chantier:opencl-avec-amd [14/12/2021 12:12] Debian Alain [Post Scriptum] |
||
---|---|---|---|
Ligne 22: | Ligne 22: | ||
* carte AMD RX 6800 16GB | * carte AMD RX 6800 16GB | ||
le tout , fait sur linux [[doc:systeme:apt:sources.list:testing|debian testing bullseye]] / debian bookworm sid et avec | le tout , fait sur linux [[doc:systeme:apt:sources.list:testing|debian testing bullseye]] / debian bookworm sid et avec | ||
- | * X.org GNOME 3.34.2 , 3.36.2 , 40.4 et 41 | + | * X.org GNOME 3.34.2 , 3.36.2 , 40.4 et 41.1 |
- | * Blender 2.82a et 2.93.4 | + | * Blender 2.82a , 2.93.4 et 2.93.5 |
* Darktable 3.6.1-1 | * Darktable 3.6.1-1 | ||
* processeur AMD RYZEN 7 1700 X et AMD RYZEN 9 3900 X | * processeur AMD RYZEN 7 1700 X et AMD RYZEN 9 3900 X | ||
Ligne 200: | Ligne 200: | ||
prise en charge du noyau 5.11 (en théorie). | prise en charge du noyau 5.11 (en théorie). | ||
- | maintenant fonctionnel sur debian sid . (noyau 5.15.6 (kernel.org)) | + | maintenant fonctionnel sur debian sid . (noyau 5.15.6 kernel.org) |
[[https://github.com/kytulendu| -- site github de kytulendu -- ]] | [[https://github.com/kytulendu| -- site github de kytulendu -- ]] | ||
Ligne 213: | Ligne 213: | ||
<note tip> merci à kytulendu </note> | <note tip> merci à kytulendu </note> | ||
- | ===== Commande AMD (RX 6000)===== | + | ===== Commande AMD (archive) ===== |
Télécharger l'archive 21.30 | Télécharger l'archive 21.30 | ||
Ligne 243: | Ligne 243: | ||
vérifier l'installation : | vérifier l'installation : | ||
<code user>clinfo </code> | <code user>clinfo </code> | ||
- | |||
- | <note important>Malheureusement , à ce jour , OpenCL pour RX6000 ne fonctionne pas encore (noyau 5.15.0-2-amd64 bookworm/sid) </note> | ||
pour désinstaller : | pour désinstaller : | ||
<code user>sudo amdgpu-uninstall </code> | <code user>sudo amdgpu-uninstall </code> | ||
- | ==== archive au format .DEB ==== | + | ===== Commande AMD (sources) ===== |
AMD vient de créer une archive au format DEB . | AMD vient de créer une archive au format DEB . | ||
Ligne 256: | Ligne 254: | ||
archive 21.40.1 , en théorie pour AMD RX 6000 . a vérifier . | archive 21.40.1 , en théorie pour AMD RX 6000 . a vérifier . | ||
- | aux dernières nouvelles , sur ma config , s'installe mais n'est pas fonctionnelle . | + | aux dernières nouvelles , sur ma config , installe le dépôt AMD (ubuntu). |
- | [[https://amdgpu-install.readthedocs.io/en/21.40/install-script.html|La Documentation officielle A.M.D. (AMDGPU) ]] | + | [[https://amdgpu-install.readthedocs.io/en/latest/|La Documentation officielle A.M.D. (AMDGPU) ]] |
[[https://rocmdocs.amd.com/en/latest/Current_Release_Notes/Current-Release-Notes.html|La Documentation officielle A.M.D. (Rocm) ]] | [[https://rocmdocs.amd.com/en/latest/Current_Release_Notes/Current-Release-Notes.html|La Documentation officielle A.M.D. (Rocm) ]] | ||
Ligne 296: | Ligne 294: | ||
la carte (RX 550) est montée en pointe , à 75 °C , au maxi une conso de 22 watts et un ventilo de 1300 RPM . | la carte (RX 550) est montée en pointe , à 75 °C , au maxi une conso de 22 watts et un ventilo de 1300 RPM . | ||
+ | |||
la RX 570 , elle , est montée , en pointe à 66 °C , conso maxi 100 watts et un ventilo à 1900 Tr/Min . | la RX 570 , elle , est montée , en pointe à 66 °C , conso maxi 100 watts et un ventilo à 1900 Tr/Min . | ||
+ | |||
+ | la RX 6800 est montée , en pointe , à 71 °C . conso maxi environ 220 watts . | ||
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 . | + | tests fait avec la version 19.50 , 20.10 et 21.30 |
- | + | ||
- | 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 675: | Ligne 673: | ||
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) |