Amplifier.NET
Amplifier.NET copied to clipboard
bool array in args don't save after executing
- Your library (in release) don't work (Idk why, i jyst use your old version cide and compile him on net 6.0 and it work)
- :
Code
[OpenCLKernel] public void Test([Global] byte[] bytes) { int thread = get_global_id(0); bytes[thread] = 1; }After executing bytes will be (1, 1, 1 ..... 1, 1, 1) But if use bool, but not byte then:[OpenCLKernel] public void Test([Global] bool[] bools) { int thread = get_global_id(0); bools[thread] = true; }After executing bytes will be (false, false, true ..... false, true, true) I think this is a bug -
continue;don't work (I think that's how it should be)