Repository navigation
Convert simple_embedding_test to run_binary_test - #5601
Merged
Merged
Conversation
Contributor
Author
ScottTodd
reviewed
Apr 26, 2021
ScottTodd
left a comment
Member
There was a problem hiding this comment.
Not sure what's up with the Kokoro CI... it hasn't started running builds/tests yet?
| endif() | ||
|
|
||
| iree_cc_test( | ||
| if(${IREE_TARGET_BACKEND_DYLIB-LLVM-AOT} AND ${IREE_HAL_DRIVER_DYLIB}) |
Member
There was a problem hiding this comment.
this condition is already checked by
if(NOT ${IREE_TARGET_BACKEND_DYLIB-LLVM-AOT} OR NOT ${IREE_TARGET_BACKEND_VULKAN-SPIRV}
OR NOT ${IREE_HAL_DRIVER_DYLIB} OR NOT ${IREE_HAL_DRIVER_VULKAN})
return()
endif()
above. I think it's fine to keep or omit these redundant checks. As we get further into multiarch/heterogeneous execution, we can change "simple_embedding" to just use a single backend, then add a separate sample showing those features.
Split the TEST_P into two tests. Supports both bazel test and ctest.
hcindyl
force-pushed
the
simple_embedding_test
branch
from
April 26, 2021 17:15
b7d2d70 to
d066f4a
Compare
ScottTodd
approved these changes
Apr 26, 2021
ScottTodd
left a comment
Member
There was a problem hiding this comment.
Kokoro still isn't running builds/tests, but this LGTM.
Member
Oooh, it finally started running :D so LGTM once build results come back. |
Merged
simon-camp
pushed a commit
to simon-camp/iree
that referenced
this pull request
Apr 29, 2021
Split the TEST_P into two tests. Supports both bazel test and ctest.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Split the TEST_P into two tests so cmake can apply the right condition.
Supports both bazel test and ctest.