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

#include "hsa_ext_finalize.h" should be "hsa_ext.h" #1

Open
markrankilor opened this issue May 27, 2015 · 6 comments
Open

#include "hsa_ext_finalize.h" should be "hsa_ext.h" #1

markrankilor opened this issue May 27, 2015 · 6 comments

Comments

@markrankilor
Copy link

The official specification bundle for the HSA Runtime group includes a "hsa_ext.h" as a header, whereas the code here looks for "hsa_ext_finalize.h".

@gstoner
Copy link
Member

gstoner commented May 28, 2015

I am going to let Boris know he needs to update this.

@BorisI
Copy link

BorisI commented May 28, 2015

Hi! The conformance suite needs HSAIL-Tools repository and two HSA Runtime header files pointed to by environment variables to be built.Detailed description is in the manual at docs/HsaPrmConformance.html, section "Building test suite". Does it work if you follow the description? Or do the build instructions look unclear, or somehow incorrect?

@BorisI
Copy link

BorisI commented May 28, 2015

I've updated instructions (https://github.com/HSAFoundation/HSA-Conformance-Tests-PRM/blob/master/docs/HsaPrmConformance.md#building-the-test-suite) in the test suite manual and added a reference to the document itself from the README file.

@markrankilor
Copy link
Author

Yes, I am able to build the conformance suite if I work around these issues. That is no problem. I'm looking at this in the spirit of a standard conformance test. Currently the header the conformance test is looking for is hsa_ext_finalize.h and the spec bundle from the runtime group provides hsa_ext.h. One of these should be renamed.

@nhaustov
Copy link
Contributor

I'll raise this with Mario.

@BorisI
Copy link

BorisI commented May 29, 2015

Mark,
thanks for a detailed report! please let me summarize existing problems how I see them, and how we're going to address them. Please add/correct if something is wrong or missing.

  1. Header naming and usage across all HSA SW distributions should be consistent. We will review the existing distributions, agree on a unified approach, and fix the distributions as needed.
  2. External dependencies (header files, make systems etc.) are okay for building conformance test suite, but unacceptable for running it. All files required for the test suite execution should be either a part of the conformance test suite package, or uniformly available through official HSA Foundation distributions. We'll review the found ones, look if there are others, and fix them.
  3. Build instructions which look like a workaround need improvement. We'll get rid of unneeded steps.

Thanks for the great feedback! Please keep it coming :)

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

4 participants