···26262727```ShellSession
2828$ export \
2929- OCL_ICD_VENDORS=`nix-build '<nixpkgs>' --no-out-link -A rocm-opencl-icd`/etc/OpenCL/vendors/
2929+ OCL_ICD_VENDORS=`nix-build '<nixpkgs>' --no-out-link -A rocmPackages.clr.icd`/etc/OpenCL/vendors/
3030```
31313232The second mechanism is to add the OpenCL driver package to
···50505151Modern AMD [Graphics Core
5252Next](https://en.wikipedia.org/wiki/Graphics_Core_Next) (GCN) GPUs are
5353-supported through the rocm-opencl-icd package. Adding this package to
5353+supported through the rocmPackages.clr.icd package. Adding this package to
5454[](#opt-hardware.opengl.extraPackages)
5555enables OpenCL support:
56565757```nix
5858hardware.opengl.extraPackages = [
5959- rocm-opencl-icd
5959+ rocmPackages.clr.icd
6060];
6161```
6262
+14
nixos/doc/manual/release-notes/rl-2311.section.md
···26262727[`sudo-rs`]: https://github.com/memorysafety/sudo-rs/
28282929+- All [ROCm](https://rocm.docs.amd.com/en/latest/) packages have been updated to 5.7.0.
3030+ - [ROCm](https://rocm.docs.amd.com/en/latest/) package attribute sets are versioned: `rocmPackages` -> `rocmPackages_5`.
3131+2932## New Services {#sec-release-23.11-new-services}
30333134- [MCHPRS](https://github.com/MCHPR/MCHPRS), a multithreaded Minecraft server built for redstone. Available as [services.mchprs](#opt-services.mchprs.enable).
···147150- `gitlab` installations created or updated between versions \[15.11.0, 15.11.2] have an incorrect database schema. This will become a problem when upgrading to `gitlab` >=16.2.0. A workaround for affected users can be found in the [GitLab docs](https://docs.gitlab.com/ee/update/versions/gitlab_16_changes.html#undefined-column-error-upgrading-to-162-or-later).
148151149152- `consul` has been updated to `1.16.0`. See the [release note](https://github.com/hashicorp/consul/releases/tag/v1.16.0) for more details. Once a new Consul version has started and upgraded its data directory, it generally cannot be downgraded to the previous version.
153153+154154+- `llvmPackages_rocm` has been moved to `rocmPackages.llvm`.
155155+156156+- `hip`, `rocm-opencl-runtime`, `rocm-opencl-icd`, and `rocclr` have been combined into `rocmPackages.clr`.
157157+158158+- `clang-ocl`, `clr`, `composable_kernel`, `hipblas`, `hipcc`, `hip-common`, `hipcub`,
159159+ `hipfft`, `hipfort`, `hipify`, `hipsolver`, `hipsparse`, `migraphx`, `miopen`, `miopengemm`,
160160+ `rccl`, `rdc`, `rocalution`, `rocblas`, `rocdgbapi`, `rocfft`, `rocgdb`, `rocm-cmake`,
161161+ `rocm-comgr`, `rocm-core`, `rocm-device-libs`, `rocminfo`, `rocmlir`, `rocm-runtime`,
162162+ `rocm-smi`, `rocm-thunk`, `rocprim`, `rocprofiler`, `rocrand`, `rocr-debug-agent`,
163163+ `rocsolver`, `rocsparse`, `rocthrust`, `roctracer`, `rocwmma`, and `tensile` have been moved to `rocmPackages`.
150164151165- `himalaya` has been updated to `0.8.0`, which drops the native TLS support (in favor of Rustls) and add OAuth 2.0 support. See the [release note](https://github.com/soywod/himalaya/releases/tag/v0.8.0) for more details.
152166
···11-////////////////////////////////////////////////////////////////////////////////
22-//
33-// The University of Illinois/NCSA
44-// Open Source License (NCSA)
55-//
66-// Copyright (c) 2014-2021, Advanced Micro Devices, Inc. All rights reserved.
77-//
88-// Developed by:
99-//
1010-// AMD Research and AMD HSA Software Development
1111-//
1212-// Advanced Micro Devices, Inc.
1313-//
1414-// www.amd.com
1515-//
1616-// Permission is hereby granted, free of charge, to any person obtaining a copy
1717-// of this software and associated documentation files (the "Software"), to
1818-// deal with the Software without restriction, including without limitation
1919-// the rights to use, copy, modify, merge, publish, distribute, sublicense,
2020-// and/or sell copies of the Software, and to permit persons to whom the
2121-// Software is furnished to do so, subject to the following conditions:
2222-//
2323-// - Redistributions of source code must retain the above copyright notice,
2424-// this list of conditions and the following disclaimers.
2525-// - Redistributions in binary form must reproduce the above copyright
2626-// notice, this list of conditions and the following disclaimers in
2727-// the documentation and/or other materials provided with the distribution.
2828-// - Neither the names of Advanced Micro Devices, Inc,
2929-// nor the names of its contributors may be used to endorse or promote
3030-// products derived from this Software without specific prior written
3131-// permission.
3232-//
3333-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
3434-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
3535-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
3636-// THE CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
3737-// OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
3838-// ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
3939-// DEALINGS WITH THE SOFTWARE.
4040-//
4141-////////////////////////////////////////////////////////////////////////////////
4242-4343-4444-#ifndef _ROCM_VERSION_H_
4545-#define _ROCM_VERSION_H_
4646-4747-4848-#ifdef __cplusplus
4949-extern "C" {
5050-#endif /* __cplusplus */
5151-5252-5353-#define ROCM_VERSION_MAJOR @rocm_major@
5454-#define ROCM_VERSION_MINOR @rocm_minor@
5555-#define ROCM_VERSION_PATCH @rocm_patch@
5656-5757-5858-typedef enum {
5959- VerSuccess=0,
6060- VerIncorrecPararmeters,
6161- VerValuesNotDefined,
6262- VerErrorMAX //This should always be last value in the enumerations
6363-} VerErrors;
6464-6565-6666-// API for getting the verion
6767-// Return val : VerErros : API execution status. The parameters are valid only when the exetution status is SUCCESS==0
6868-VerErrors getROCmVersion(unsigned int* Major, unsigned int* Minor, unsigned int* Patch) __attribute__((nonnull)) ;
6969-// Usage :
7070-// int mj=0,mn=0,p=0,ret=0;
7171-// ret=getROCMVersion(&mj,&mn,&p);
7272-// if(ret !=VerSuccess ) // error occured
7373-//
7474-// check for the values and
7575-//
7676-7777-7878-#ifdef __cplusplus
7979-} // end extern "C" block
8080-#endif
8181-8282-#endif //_ROCM_VERSION_H_ header guard
···130130 chocolateDoom = chocolate-doom; # Added 2023-05-01
131131 chrome-gnome-shell = gnome-browser-connector; # Added 2022-07-27
132132 citra = citra-nightly; # added 2022-05-17
133133+ clang-ocl = throw "'clang-ocl' has been replaced with 'rocmPackages.clang-ocl'"; # Added 2023-10-08
133134 inherit (libsForQt5.mauiPackages) clip; # added 2022-05-17
135135+ composable_kernel = throw "'composable_kernel' has been replaced with 'rocmPackages.composable_kernel'"; # Added 2023-10-08
134136 cpp-ipfs-api = cpp-ipfs-http-client; # Project has been renamed. Added 2022-05-15
135137 crispyDoom = crispy-doom; # Added 2023-05-01
136138 clasp = clingo; # added 2022-12-22
···332334 haxe_3_2 = throw "'haxe_3_2' has been removed because it is old and no longer used by any packages in nixpkgs"; # Added 2023-03-15
333335 haxe_3_4 = throw "'haxe_3_4' has been removed because it is old and no longer used by any packages in nixpkgs"; # Added 2023-03-15
334336 hepmc = throw "'hepmc' has been renamed to/replaced by 'hepmc2'"; # Converted to throw 2023-09-10
337337+ hip = throw "'hip' has been removed in favor of 'rocmPackages.clr'"; # Added 2023-10-08
338338+ hipcc = throw "'hipcc' has been replaced with 'rocmPackages.hipcc'"; # Added 2023-10-08
339339+ hipify = throw "'hipify' has been replaced with 'rocmPackages.hipify'"; # Added 2023-10-08
340340+ hipcub = throw "'hipcub' has been replaced with 'rocmPackages.hipcub'"; # Added 2023-10-08
341341+ hipsparse = throw "'hipsparse' has been replaced with 'rocmPackages.hipsparse'"; # Added 2023-10-08
342342+ hipfort = throw "'hipfort' has been replaced with 'rocmPackages.hipfort'"; # Added 2023-10-08
343343+ hipfft = throw "'hipfft' has been replaced with 'rocmPackages.hipfft'"; # Added 2023-10-08
344344+ hipsolver = throw "'hipsolver' has been replaced with 'rocmPackages.hipsolver'"; # Added 2023-10-08
345345+ hipblas = throw "'hipblas' has been replaced with 'rocmPackages.hipblas'"; # Added 2023-10-08
346346+ hip-amd = throw "'hip-amd' has been removed in favor of 'rocmPackages.clr'"; # Added 2023-10-08
347347+ hip-common = throw "'hip-common' has been replaced with 'rocmPackages.hip-common'"; # Added 2023-10-08
348348+ hip-nvidia = throw "'hip-nvidia' has been removed in favor of 'rocmPackages.clr'"; # Added 2023-10-08
335349 ht-rust = xh; # Added 2021-02-13
336350 hydra-unstable = hydra_unstable; # added 2022-05-10
337351···404418 latinmodern-math = lmmath;
405419 ldgallery = throw "'ldgallery' has been removed from nixpkgs. Use the Flake provided by ldgallery instead"; # Added 2023-07-26
406420 lfs = dysk; # Added 2023-07-03
421421+ llvmPackages_rocm = throw "'llvmPackages_rocm' has been replaced with 'rocmPackages.llvm'"; # Added 2023-10-08
407422 libayatana-indicator-gtk3 = libayatana-indicator; # Added 2022-10-18
408423 libayatana-appindicator-gtk3 = libayatana-appindicator; # Added 2022-10-18
409424 libbencodetools = bencodetools; # Added 2022-07-30
···527542 meme = meme-image-generator; # Added 2021-04-21
528543 mess = throw "'mess' has been renamed to/replaced by 'mame'"; # Converted to throw 2023-09-10
529544 microsoft_gsl = microsoft-gsl; # Added 2023-05-26
545545+ migraphx = throw "'migraphx' has been replaced with 'rocmPackages.migraphx'"; # Added 2023-10-08
546546+ miopen = throw "'miopen' has been replaced with 'rocmPackages.miopen'"; # Added 2023-10-08
547547+ miopengemm = throw "'miopengemm' has been replaced with 'rocmPackages.miopengemm'"; # Added 2023-10-08
548548+ miopen-hip = throw "'miopen-hip' has been replaced with 'rocmPackages.miopen-hip'"; # Added 2023-10-08
549549+ miopen-opencl = throw "'miopen-opencl' has been replaced with 'rocmPackages.miopen-opencl'"; # Added 2023-10-08
530550 mime-types = mailcap; # Added 2022-01-21
531551 minizip2 = pkgs.minizip-ng; # Added 2022-12-28
532552 monero = monero-cli; # Added 2021-11-28
···704724 radare2-cutter = cutter; # Added 2021-03-30
705725 rambox-pro = rambox; # Added 2022-12-12
706726 rarian = throw "rarian has been removed as unused"; # Added 2023-07-05
727727+ rccl = throw "'rccl' has been replaced with 'rocmPackages.rccl'"; # Added 2023-10-08
728728+ rdc = throw "'rdc' has been replaced with 'rocmPackages.rdc'"; # Added 2023-10-08
707729 retroshare06 = retroshare;
708730 rigsofrods = rigsofrods-bin; # Added 2023-03-22
709731 ring-daemon = jami-daemon; # Added 2021-10-26
710732 rockbox_utility = rockbox-utility; # Added 2022-03-17
733733+ rocalution = throw "'rocalution' has been replaced with 'rocmPackages.rocalution'"; # Added 2023-10-08
734734+ rocblas = throw "'rocblas' has been replaced with 'rocmPackages.rocblas'"; # Added 2023-10-08
735735+ rocfft = throw "'rocfft' has been replaced with 'rocmPackages.rocfft'"; # Added 2023-10-08
736736+ rocprim = throw "'rocprim' has been replaced with 'rocmPackages.rocprim'"; # Added 2023-10-08
737737+ rocrand = throw "'rocrand' has been replaced with 'rocmPackages.rocrand'"; # Added 2023-10-08
738738+ rocsparse = throw "'rocsparse' has been replaced with 'rocmPackages.rocsparse'"; # Added 2023-10-08
739739+ rocthrust = throw "'rocthrust' has been replaced with 'rocmPackages.rocthrust'"; # Added 2023-10-08
740740+ roctracer = throw "'roctracer' has been replaced with 'rocmPackages.roctracer'"; # Added 2023-10-08
741741+ rocwmma = throw "'rocwmma' has been replaced with 'rocmPackages.rocwmma'"; # Added 2023-10-08
742742+ rocclr = throw "'rocclr' has been removed in favor of 'rocmPackages.clr'"; # Added 2023-10-08
743743+ rocdbgapi = throw "'rocdbgapi' has been replaced with 'rocmPackages.rocdbgapi'"; # Added 2023-10-08
744744+ rocgdb = throw "'rocgdb' has been replaced with 'rocmPackages.rocgdb'"; # Added 2023-10-08
745745+ rocprofiler = throw "'rocprofiler' has been replaced with 'rocmPackages.rocprofiler'"; # Added 2023-10-08
746746+ rocsolver = throw "'rocsolver' has been replaced with 'rocmPackages.rocsolver'"; # Added 2023-10-08
747747+ rocmClangStdenv = throw "'rocmClangStdenv' has been moved to 'rocmPackages' and is no longer public"; # Added 2023-10-08
748748+ rocmUpdateScript = throw "'rocmUpdateScript' has been moved to 'rocmPackages' and is no longer public"; # Added 2023-10-08
749749+ rocminfo = throw "'rocminfo' has been replaced with 'rocmPackages.rocminfo'"; # Added 2023-10-08
750750+ rocmlir = throw "'rocmlir' has been replaced with 'rocmPackages.rocmlir'"; # Added 2023-10-08
751751+ rocmlir-rock = throw "'rocmlir-rock' has been replaced with 'rocmPackages.rocmlir-rock'"; # Added 2023-10-08
752752+ rocm-cmake = throw "'rocm-cmake' has been replaced with 'rocmPackages.rocm-cmake'"; # Added 2023-10-08
753753+ rocm-comgr = throw "'rocm-comgr' has been replaced with 'rocmPackages.rocm-comgr'"; # Added 2023-10-08
754754+ rocm-core = throw "'rocm-core' has been replaced with 'rocmPackages.rocm-core'"; # Added 2023-10-08
755755+ rocm-device-libs = throw "'rccl' has been replaced with 'rocmPackages.rocm-device-libs'"; # Added 2023-10-08
756756+ rocm-opencl-icd = lib.warn "'rocm-opencl-icd' has been replaced with 'rocmPackages.clr.icd'" rocmPackages.clr.icd; # Added 2023-10-08
757757+ rocm-opencl-runtime = lib.warn "'rocm-opencl-runtime' has been replaced with 'rocmPackages.clr'" rocmPackages.clr; # Added 2023-10-08
758758+ rocm-runtime = throw "'rocm-runtime' has been replaced with 'rocmPackages.rocm-runtime'"; # Added 2023-10-08
759759+ rocm-smi = throw "'rocm-smi' has been replaced with 'rocmPackages.rocm-smi'"; # Added 2023-10-08
760760+ rocm-thunk = throw "'rocm-thunk' has been replaced with 'rocmPackages.rocm-thunk'"; # Added 2023-10-08
761761+ rocr-debug-agent = throw "'rocr-debug-agent' has been replaced with 'rocmPackages.rocr-debug-agent'"; # Added 2023-10-08
711762 rome = throw "rome is no longer maintained, consider using biome instead"; # Added 2023-09-12
712763 rpiboot-unstable = rpiboot; # Added 2021-07-30
713764 rr-unstable = rr; # Added 2022-09-17
···796847 taro = taproot-assets; # Added 2023-07-04
797848 tdesktop = telegram-desktop; # Added 2023-04-07
798849 telegram-cli = throw "telegram-cli was removed because it was broken and abandoned upstream"; # Added 2023-07-28
850850+ tensile = throw "'tensile' has been replaced with 'rocmPackages.tensile'"; # Added 2023-10-08
799851 testVersion = testers.testVersion; # Added 2022-04-20
800852 invalidateFetcherByDrvHash = testers.invalidateFetcherByDrvHash; # Added 2022-05-05
801853 timescale-prometheus = promscale; # Added 2020-09-29