-
Notifications
You must be signed in to change notification settings - Fork 108
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
added feature for locking host memory #24
Conversation
@@ -0,0 +1,24 @@ | |||
// XFAIL: Linux | |||
// RUN: %hc %s -o %t.out %t.out |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@adityaatluri this line looks suspicious. The test is supposed to be linked with -lhc_am but it's not specified here.
@adityaatluri could you help:
|
@@ -0,0 +1,34 @@ | |||
// XFAIL: Linux | |||
// RUN: %hc %s -o %t.out %t.out |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@adityaatluri same here. perhaps -lhc_am is needed so lit could correct build the test
Hi Aditya, For point 2, normally I'd like to have new features go to a branch first. For point 3 & 4, please run "HCC_RUNTIME=HSA make test" and HIP unit tests Jack 2016-04-14 10:18 GMT+08:00 Aditya Atluri notifications@github.com:
|
if(all.size() == 0){ | ||
return -1; | ||
} | ||
std::vector<hsa_agent_t> agentVec; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please consider not using HSA data structures directly in hcc unit tests.
if you must use them. please refer to:
https://github.com/RadeonOpenCompute/hcc/blob/master/tests/Unit/HC/create_marker.cpp
for an example. you'll basically need to change lit macro to make your test build.
No description provided.