-
-
Notifications
You must be signed in to change notification settings - Fork 727
common/gpu/intel/opencl: add opencl #573
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
The |
How old? |
Potentially makes sense to have the opencl option in nixos itself: NixOS/nixpkgs#219657 |
{ config, lib, pkgs, ... }: | ||
|
||
{ | ||
options.hardware.intel.opencl.enable = lib.mkEnableOption (lib.mkDoc |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
options.hardware.intel.opencl.enable = lib.mkEnableOption (lib.mkDoc | |
options.hardware.intel.opencl.enable = lib.mkEnableOption (lib.mdDoc |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also, the module name is now hardware.intelgpu
, not hardware.intel
.
Both the In addition I realized that |
Description of changes
Updates intel libraries as per NixOS/nixpkgs#205648
Adds module for intel opencl currently only supporting GPU
It is possible to add CPU OpenCL support, but only using an older version of the driver: https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=intel-opencl-runtime
Things done
nixos-hardware
andimporting it via
<nixos-hardware>
or Flake input