ILGPU:RTX 4090 不支持启用算法?

问题描述 投票:0回答:1

我有一台安装了 CUDA 12.5 的 RTX 4090。显卡驱动程序是最新的。

以下代码位于安装了 ILGPU 和 ILGPU.Algorithms NuGet 包的 NET 8.0 C# VS 2022 项目中。

第二行抛出 System.NotSupportedException: '不支持的目标加速器',并且我已验证启用算法时,我的 GPU 未列在上下文中的可用设备中。没有它们加速器也能正常工作。

context = Context.Create(b => b.EnableAlgorithms());
accelerator = context.CreateCudaAccelerator(0);

不幸的是,我需要使用 Math.Atan2,如果没有算法,则不支持它。

这里有点不知所措。

c# cuda
1个回答
0
投票

没有立即找到这个,所以我在这里发帖是为了帮助那些用谷歌搜索并错过的人。

启用算法时我的 GPU 丢失#674

context = Context.Create(b => b.Default().EnableAlgorithms());
© www.soinside.com 2019 - 2024. All rights reserved.