Comments (1)
You'll need to follow the instructions in https://iree-org.github.io/iree/deployment-configurations/gpu-cuda-rocm/
- Configure CMake with the ROCm compiler target and HAL drivers both enabled (
-DIREE_TARGET_BACKEND_ROCM=ON -DIREE_EXTERNAL_HAL_DRIVERS=rocm
) - The compilation flags will need to be changed to include
--iree-hal-target-backends=rocm --iree-rocm-target-chip=...
etc.: https://github.com/iree-org/iree-samples/blob/0dbcdcc9e51bc438dfd162482c478454353161a3/cpp/vision_inference/CMakeLists.txt#L21-L28 - The device creation code will also need to be changed (
rocm
instead oflocal-task
): https://github.com/iree-org/iree-samples/blob/0dbcdcc9e51bc438dfd162482c478454353161a3/cpp/vision_inference/iree-run-mnist-module.c#L27-L29
from iree-samples.
Related Issues (20)
- [runtime-library] Cannot use functions in runtime/src/iree/tooling in app development HOT 3
- No matching distribution found for iree-tools-tflite with python-3.10 on macOS. HOT 1
- Triage failure cases from when CI was down
- Unknown command line argument '--iree-flow-enable-aggressive-fusion`. HOT 1
- BirdClassifierTest.test_compile_tflite failing in regression tests HOT 3
- mobilenet_ssd_quant_test.py failing in regresssion tests
- mobilebert_tf2_quant_test.py failing in regression tests
- Update tests to check for user-facing results rather than just numerical accuracy HOT 1
- Dumping traces for iree-samples targets is not supported
- iree.importer not found in failing regression tests HOT 5
- nasnet_test.py failing in regression tests
- Error creating iree runtime is causing regression test failures HOT 2
- Regression tests failing due to numerical differences HOT 1
- Error invoking iree-compile is causing regression test failures HOT 1
- Regression tests failing due to numerical differences HOT 1
- Seg fault causing failures in regression tests HOT 4
- [runtime-library] CMake configuration of runtime-library causes warnings about CMP0069
- [runtime-library] CMake build of runtime-library failed HOT 1
- [runtime-library] Xcode complains undefined symbols HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from iree-samples.