Stream handling simplified to avoid dictionary lookups in favor of array lookups with known indexes.
This commit is contained in:
1 parent
cd7636ddbe
commit
a84445ef2a
15 files changed
+67
-73
No files matched your search
@@ -363,7 +363,7 @@ public class GpuKernelCompilationTests
|
||||
finally
|
||||
{
|
||||
stream.Synchronize();
|
||||
AcceleratorStreamPool.Return(acceleratorIndex, stream);
|
||||
AcceleratorStreamPool.Return(acceleratorIndex);
|
||||
// GpuPrimeWorkLimiter.Release();
|
||||
}
|
||||
|
||||
@@ -381,7 +381,7 @@ public class GpuKernelCompilationTests
|
||||
finally
|
||||
{
|
||||
stream.Synchronize();
|
||||
AcceleratorStreamPool.Return(acceleratorIndex, stream);
|
||||
AcceleratorStreamPool.Return(acceleratorIndex);
|
||||
// GpuPrimeWorkLimiter.Release();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user