Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bool array in args don't save after executing #22

Open
Yoticc opened this issue Sep 3, 2022 · 0 comments
Open

bool array in args don't save after executing #22

Yoticc opened this issue Sep 3, 2022 · 0 comments

Comments

@Yoticc
Copy link

Yoticc commented Sep 3, 2022

  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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant