Skip to content

Conversation

@npmiller
Copy link
Contributor

@npmiller npmiller commented Jul 6, 2021

Device parameters are pi_bool, which is uint32_t, not bool.

So using bool here is incorrect because it will only set one byte of
the expected 4 bytes output. If the output is initialized to 0 this
will work fine, but if it's not this results in undefined behaviour.

Device parameters are `pi_bool`, which is `uint32_t`, not `bool`.

So using `bool` here is incorrect because it will only set one byte of
the expected 4 bytes output. If the output is initialized to 0 this
will work fine, but if it's not this results in undefined behaviour.
@npmiller npmiller requested review from a team and smaslov-intel as code owners July 6, 2021 14:39
@bader
Copy link
Contributor

bader commented Jul 9, 2021

@smaslov-intel, @intel/llvm-reviewers-cuda, ping.

@vladimirlaz vladimirlaz merged commit 764b6ff into intel:sycl Jul 12, 2021
@bader bader added the cuda CUDA back-end label Jul 26, 2021
@bader bader added the hip Issues related to execution on HIP backend. label Aug 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cuda CUDA back-end hip Issues related to execution on HIP backend.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants