Skip to content

Enable LLVM JIT lit tests - #2158

Closed
GMNGeoffrey wants to merge 6 commits into
iree-org:masterfrom
GMNGeoffrey:enable_llvm
Closed

GMNGeoffrey wants to merge 6 commits into
iree-org:masterfrom
GMNGeoffrey:enable_llvm

Conversation

@GMNGeoffrey

@GMNGeoffrey GMNGeoffrey commented Jun 10, 2020 •

Copy link
Copy Markdown
Member

These were turned off at some point as part of enabling dynamic shapes (#1249) and then never turned back on... They all pass.

@GMNGeoffrey GMNGeoffrey changed the title Enable llvm jit tests Enable LLVM JIT lit tests Jun 10, 2020
@GMNGeoffrey
GMNGeoffrey marked this pull request as ready for review June 10, 2020 02:56
@GMNGeoffrey

Copy link
Copy Markdown
Member Author

Feel free to submit your pending changes for these files first and I'll handle the merge conflicts

@phoenix-meadowlark

phoenix-meadowlark commented Jun 10, 2020 •

Copy link
Copy Markdown
Contributor

Feel free to submit your pending changes for these files first and I'll handle the merge conflicts

Done! Thankfully looks like there shouldn't be any difficult merges :)

Edit: Forgot about #2157, which will be in soon!

@phoenix-meadowlark phoenix-meadowlark added bazel infrastructure Relating to build systems, CI, or testing integrations Relating to high-level frontend integrations labels Jun 10, 2020
copybara-service Bot pushed a commit that referenced this pull request Jun 11, 2020
As a followup to #2158, this change creates a test suite to run the e2e tests to run on the `iree_vmla` and `iree_llvmjit` backends to run in the OSS CI, and on the `iree_vulkan` backend outside of it.

Each test file has three test targets created for it, and the tests for a specific backend can be filtered for. For example:
```bash
>>> bazel query 'attr("tags", "driver=llvm", //integrations/tensorflow/e2e/...)'
//integrations/tensorflow/e2e:e2e_tensorlist_test_tf_iree_llvmjit
//integrations/tensorflow/e2e:e2e_strings_test_tf_iree_llvmjit
//integrations/tensorflow/e2e:e2e_sliding_window_test_tf_iree_llvmjit
//integrations/tensorflow/e2e:e2e_simple_stateful_test_tf_iree_llvmjit
//integrations/tensorflow/e2e:e2e_simple_arithmetic_test_tf_iree_llvmjit
//integrations/tensorflow/e2e:e2e_ring_buffer_test_tf_iree_llvmjit
//integrations/tensorflow/e2e:e2e_resource_ops_test_tf_iree_llvmjit
//integrations/tensorflow/e2e:e2e_matrix_ops_test_tf_iree_llvmjit
//integrations/tensorflow/e2e:e2e_math_test_tf_iree_llvmjit
//integrations/tensorflow/e2e:e2e_mandelbrot_test_tf_iree_llvmjit
//integrations/tensorflow/e2e:e2e_linspace_test_tf_iree_llvmjit
//integrations/tensorflow/e2e:e2e_gather_test_tf_iree_llvmjit
//integrations/tensorflow/e2e:e2e_fill_test_tf_iree_llvmjit
//integrations/tensorflow/e2e:e2e_exported_names_test_tf_iree_llvmjit
//integrations/tensorflow/e2e:e2e_dynamic_mlp_test_tf_iree_llvmjit
//integrations/tensorflow/e2e:e2e_dynamic_mlp_relu_test_tf_iree_llvmjit
//integrations/tensorflow/e2e:e2e_depth_conv_test_tf_iree_llvmjit
//integrations/tensorflow/e2e:e2e_conv_test_tf_iree_llvmjit
//integrations/tensorflow/e2e:e2e_control_flow_test_tf_iree_llvmjit
//integrations/tensorflow/e2e:e2e_broadcasting_test_tf_iree_llvmjit
//integrations/tensorflow/e2e:e2e_batch_norm_test_tf_iree_llvmjit
```

Closes #2174

COPYBARA_INTEGRATE_REVIEW=#2174 from phoenix-meadowlark:e2e-refactor ecbbe7f
PiperOrigin-RevId: 315802336
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

infrastructure Relating to build systems, CI, or testing integrations Relating to high-level frontend integrations

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants