Amplifier.NET icon indicating copy to clipboard operation
Amplifier.NET copied to clipboard

bool array in args don't save after executing

Open Yoticc opened this issue 3 years ago • 0 comments

  1. 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)
  2. : 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
  3. continue; don't work (I think that's how it should be)

Yoticc avatar Sep 03 '22 22:09 Yoticc