Compilation error fixed
This commit is contained in:
1 parent
07be671726
commit
b33a3c8e75
1 file changed
-1
@@ -19,7 +19,6 @@ public static class GpuContextPool
|
|||||||
{
|
{
|
||||||
Context = Context.CreateDefault();
|
Context = Context.CreateDefault();
|
||||||
Accelerator = Context.GetPreferredDevice(false).CreateAccelerator(Context);
|
Accelerator = Context.GetPreferredDevice(false).CreateAccelerator(Context);
|
||||||
DivisorGeneratorGpuCache.WarmUpByDivisorTables(Accelerator);
|
|
||||||
// NOTE: Avoid loading/compiling any kernel here to prevent implicit
|
// NOTE: Avoid loading/compiling any kernel here to prevent implicit
|
||||||
// CL stream/queue creation during accelerator construction.
|
// CL stream/queue creation during accelerator construction.
|
||||||
// Some OpenCL drivers are fragile when a queue is created immediately
|
// Some OpenCL drivers are fragile when a queue is created immediately
|
||||||
|
|||||||
Reference in new issue
Block a user