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

Querying the agent name failed. #20

Open
Mindwalk3r opened this issue Feb 17, 2016 · 2 comments
Open

Querying the agent name failed. #20

Mindwalk3r opened this issue Feb 17, 2016 · 2 comments

Comments

@Mindwalk3r
Copy link

Hi,
I have a problem when running vector_copy. When I run the program, I get the following 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 failed.

Running kdf_check_installation yields:

Carrizo detected:.....................................Yes
Carrizo type supported:.............................Yes
amdgpu module is loaded:........................Yes
amdkfd module is loaded:..........................Yes
AMD IOMMU V2 module is loaded:............Yes
KDF device exists:.....................................Yes
KFD device has correct permissions:........Yes
Valid GPU ID is detected:..........................Yes

Can run HSA:..........................................YES

I have followed the installation process from http://gpuopen.com/getting-started-with-boltzmann-components-platforms-installation/
Any help or ideas to fix this issue would be greatly appreciated.

Thanks!

@matcheydj
Copy link

kfd_check_installation skips that part. Valid GPU ID is detected, then it goes right to Can run HSA instead of checking around for what would be the target of hsa_agent_get_info(agent, HSA_AGENT_INFO_NAME, name)

People seem to be hardcoding it? Pretty sure you can just comment out of vector_copy.c:

char name[64] = { 0 };
err = hsa_agent_get_info(agent, HSA_AGENT_INFO_NAME, name);
check(Querying the agent name, err);
printf("The agent name is %s.\n", name);

@Mindwalk3r
Copy link
Author

Thanks for the reply. Unfortunately, the change (commented the lines) caused a segmentation fault instead.

I might also mention that using HCC and testing a sample program (can be found here: http://gpuopen.com/a-brief-intro-to-boltzmann-hcc/) the following error occurred:

There is no device can be used to do the computation

Not sure if this is related, but might be worth mentioning.

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