Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vector_copy failed on my aarch64 system #232

Closed
lintcoder opened this issue Oct 23, 2017 · 1 comment
Closed

vector_copy failed on my aarch64 system #232

lintcoder opened this issue Oct 23, 2017 · 1 comment

Comments

@lintcoder
Copy link

@gstoner Hi, I have been busy on trying to build ROCm on my ubunu16.04-arm64 server which is running on Cavium Thunder X for a very long time.
Here is the detail for every building process:

  1. ROCK-Kernel-Driver (branch roc-1.6.3 commit cb1930)

  2. ROCT-Thunk-Interface (branch roc-1.6.3 commit 25a9bc)
    after that I get directory /opt/rocm/libhsakmt/

  3. ROCR-Runtime (branch roc-1.6.1)
    after that I get directory /opt/rocm/hsa/
    While I‘ve noticed that ROCm platform relies on a few closed source components which are only available through the ROCm repositories as hsa-ext-rocr-dev package, since I have been building whole project on an aarch64 system, I wonder where could I get these components suitable for this platform and if it will be necessary for running the examples here or making the rocm work?

  4. hcc (branch aarch64 commit bd70a7)
    after that I get directory /opt/rocm/hcc-1.0

  5. HIP (branch master e8de9d)
    after that I get directory /opt/rocm/hip

  6. atmi(branch master)
    from the output of cmake, atmi seems not supported on aarch64.

Now with these components built, a C-based test that whchung provided at https://gist.github.com/whchung/79b92141d7274e0b3dda20b688db21aa can run successfully on my platform. While the sample vector_copy in ROCR/sample failed with these output:

Initializing the hsa runtime succeeded.
Checking finalizer 1.0 extension support succeeded.
Generating function table for finalizer succeeded.
Getting a gpu agent succeeded.
Querying the agent name succeeded.
The agent name is gfx803.
Querying the agent maximum queue size succeeded.
The maximum queue size is 131072.
Creating the queue succeeded.
"Obtaining machine model" succeeded.
"Getting agent profile" succeeded.
Create the program failed.

Besides my AMD GPU card is RX460, I wonder with the situation refered above, will the ROCM on my system supported mesa opengl, since I want to make some tests on opengl?

@gstoner
Copy link

gstoner commented Oct 23, 2017

Please use HIPinfo instead of this test. The shader compiler which this test is using is being deprecated

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants