我得到了Found more than one basic block without predecessors
例外:
尝试执行以下代码时:
static void Main(string[] args)
{
var gpu = Gpu.Default;
gpu.For(0, 100, idx => Do(idx)); // on this line
Console.ReadKey();
}
[GpuManaged]
public static void Do(int idx)
{
bool isTrue = false;
}
可能是什么问题?[GpuManaged]
不使用时不抛出异常
- 赢得 10 x64
- alea 3.0.4
- alea.fody 3.0.4
- fsharp.core 4.3.4
- geforce GT 710