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

CPU Node [0] has no GPU connected #172

Closed
PhilipDeegan opened this issue Nov 19, 2016 · 10 comments
Closed

CPU Node [0] has no GPU connected #172

PhilipDeegan opened this issue Nov 19, 2016 · 10 comments

Comments

@PhilipDeegan
Copy link
Contributor

PhilipDeegan commented Nov 19, 2016

First, congratulations on the 1.3 release.

Not sure what you did but my GNOME openbox desktop is working again.

Using the new 4.6 kernel, and much the same setup as the 1.2 setup for clang_tot_upgrade branch, I am having difficulty running the saxpy example.

hcc $(hcc-config --ldflags --cxxflags) -o sax saxpy.cpp -g3
LD_LIBRARY_PATH=/opt/rocm/lib ./sax
CPU Node [0] has no GPU connected
Segmentation fault

@aditya4d1
Copy link
Contributor

Can you try running hsa sample in /opt/rocm/hsa/sample ?

@PhilipDeegan
Copy link
Contributor Author

LD_LIBRARY_PATH=/opt/rocm/lib ./vector_copy
CPU Node [0] has no GPU connected
Segmentation fault

@aditya4d1
Copy link
Contributor

Can you paste in uname -a ?

@PhilipDeegan
Copy link
Contributor Author

uname -a
Linux toast 4.6.0-kfd #1 SMP Sat Nov 19 19:04:45 GMT 2016 x86_64 GNU/Linux

@aditya4d1
Copy link
Contributor

aditya4d1 commented Nov 21, 2016

Seems like a runtime issue. Can you create an issue here[1]?
[1]. https://github.com/RadeonOpenCompute/ROCR-Runtime/issues

@scchan
Copy link
Collaborator

scchan commented Nov 21, 2016

@dekken

Looks like you didn't install the kernel from AMD? Mine shows:

Linux d7e13bb11ac9 4.6.0-kfd-compute-rocm-rel-1.3-63 #1 SMP Fri Oct 28 13:14:45 CDT 2016 x86_64 x86_64 x86_64 GNU/Linux

@PhilipDeegan
Copy link
Contributor Author

I built https://github.com/RadeonOpenCompute/ROCK-Kernel-Driver/tree/roc-1.3.x so I would imagine it's right.

@scchan
Copy link
Collaborator

scchan commented Nov 21, 2016

I don't think this is related to the hcc compiler at this point. Do you mind opening a ticket against RadeonOpenCompute/ROCm so that the driver and runtime guys could respond to it? Thanks.

@PhilipDeegan
Copy link
Contributor Author

I've already opened up a ticket on runtime, rather not be spamming tickets tbh

@scchan
Copy link
Collaborator

scchan commented Nov 21, 2016

to be investigated by the runtime ROCm/ROCR-Runtime#17

@scchan scchan closed this as completed Nov 21, 2016
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

3 participants