Closed
Description
I found my test will stop responding on first "//AfterALL" output. the following clues during debugging.
- Testing on GPU accelerated library will trigger this issue, CPU library does not have this problem
- the problem will gone if I use "InProcessEmitToolchain", however it will trigger [GlobalSetup] method crash when more than 1 parameters are used. for example
[Params(10000)] // it works
public int Items { get; set; }
[Params(1000,10000)] //[GlobalSetup] method will crash when Items=10000
public int Items { get; set; }
- tried to manual run the test code to figure out if the test code hang it self, turns out test code is fine.
ComputeShaderPerformanceILGPU c = new ComputeShaderPerformanceILGPU() { CopyBack = false, Items = 1000 };
c.Acc = c.GetAccelerators.First();
c.Init(); // global setup
c.Step(); //benchmark
c.Close(); //global cleanup
Source code is at https://github.com/JohnMasen/VirusSimulator under DEV branch, project "ComputeShaderTest.csproj"
Metadata
Metadata
Assignees
Labels
No labels