-
Notifications
You must be signed in to change notification settings - Fork 3
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
PCIe topology detection #39
Conversation
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.
Could you please revert all the indentation changes (and changes to hdf5_io.cpp
)? All these changes inserting tabs instead of spaces make it really hard to review the new code.
You've also reverted the changes to |
Is there still something missing or can this be merged now? |
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.
There are still lots of indentation changes in src/ocl_dev_mgr.cpp
- didn't you want to revert these?
} | ||
std::string compile_options = std::string(" ") + std::string(options); | ||
|
||
try { |
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.
Here are some indentation errors.
nvidia_temp.clear(); | ||
nvidia_temp_time.clear(); | ||
void nvidia_log_temp_func() { | ||
if (nvidia_temp_rate > 0) |
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.
Didn't we want to use 2 spaces instead of 4?
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.
While there are some parts I would like to change, this PR seems to work on my system. We can merge them after some cleanup.
|
||
try { | ||
cl_prog.build(compile_options.c_str()); | ||
cl_prog.build(compile_options.c_str()); | ||
} | ||
catch (cl::BuildError error) { |
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.
Tabs 😉
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.
😖
So we just merge this PR and then do a second debug mode PR? |
Added automatic PCIe detection and matching between OpenCL and NVML for NVidia devices to solve #38