[Matrix] Add boolean operator tests#1054
Conversation
30db7a7 to
adb0358
Compare
bob80905
left a comment
There was a problem hiding this comment.
Looks mostly good. You might want to document your reasoning for why you chose not to add a thread test for the or operator.
| Data: [ 1, 1, 1, 1, 1, 1 ] | ||
| - Name: AndTrueFalseOut | ||
| Format: Int32 | ||
| FillSize: 24 |
There was a problem hiding this comment.
You might consider setting this data to be non-zero. A nit, but it ensures that the buffer is actually being set to 0, and that the program is actually running.
There was a problem hiding this comment.
I agree that we should ensure the buffers are not zero-initialized
There was a problem hiding this comment.
Random thought, should we have a feature where we populate output buffers with random data to catch issues going under the radar due to data being zero-initialized?
inbelic
left a comment
There was a problem hiding this comment.
LGTM once Josh's comments are addressed.
The tests do seem to overlap a lot, could we not have the same test coverage with a single 2x2 matrix that has a TT, TF, FT, FF combination?
| Data: [ 1, 1, 1, 1, 1, 1 ] | ||
| - Name: AndTrueFalseOut | ||
| Format: Int32 | ||
| FillSize: 24 |
There was a problem hiding this comment.
I agree that we should ensure the buffers are not zero-initialized
| # Bug https://github.com/llvm/offload-test-suite/issues/704 | ||
| # XFAIL: Clang && Intel && Vulkan | ||
|
|
||
| Bug https://github.com/llvm/offload-test-suite/issues/705 |
There was a problem hiding this comment.
Commented on the issue, but it needs some detail added to it before I'm comfortable using it to mark an XFAIL. It isn't clear to me whether this is really a driver issue or if it's just a clang bug of some kind.
There was a problem hiding this comment.
updated the descript of the ticket, honestly this needs some deeper investigation and I think the ticket should be that investigation.
adb0358 to
d6a4387
Compare
2733da2 to
f13b9ff
Compare
|
There are a few things holding this PR up still. First Warp issue on the Second issue looks to be driver related for intel that I don't see locally. CI is All bool tests are failing on intel with both DXC and Clang on CI. |
fixes llvm#706 With the following PRs now merged - llvm/llvm-project#172384 - llvm/llvm-project#175809 - llvm/llvm-project#175245 - llvm/llvm-project#175633 We have a working base to test booleans on both DXC and Clang.
b93a66f to
e478ac9
Compare
fixes #706
With the following PRs now merged
We have a working base to test booleans on both DXC and Clang.