Skip to content

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

@Yoticc

Description

@Yoticc
  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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions