You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We’ll be using QEMU and Docker to set up our emulated environment. QEMU is an open source machine emulator and virtualizer. It allows users to to build ARM CUDA binaries on your x86 machine without needing a cross compiler.
4
+
5
+
First, let’s see what happens before setting up the emulation when trying to execute a program compiled for a different architecture :
6
+
7
+
```console
8
+
$ uname -m # Display the host architecture
9
+
x86_64
10
+
11
+
$ docker run --rm -t arm64v8/ubuntu uname -m # Run an executable made for aarch64 on x86_64
12
+
standard_init_linux.go:211: exec user process caused "exec format error"
13
+
```
14
+
15
+
As expected the instructions are not recognized since the packages are not installed yet. Installing the following packages should allow you to enable support for aarch64 containers on your x86 workstation:
16
+
17
+
#### 1. Install the qemu and required dependent packages
0 commit comments