-
Notifications
You must be signed in to change notification settings - Fork 4
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
Adds GPU support #7
base: master
Are you sure you want to change the base?
Conversation
can't seem to run the tests any more without building something first. i suppose we need to add
|
using cgo may be a good alternative to building the binary and calling exec: https://karthikkaranth.me/blog/calling-c-code-from-go/ |
adding some instructions on how to build the C files would be useful. i guess i need |
scripts/nvml/list_gpus.c
Outdated
} | ||
|
||
// source: https://github.com/gpeled/tensors/blob/master/gpuutil.c | ||
int showUtilization (unsigned int i, nvmlDevice_t device, nvmlSamplingType_t type, int sleepInterval, int iterations) |
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.
do we need this function here?
Change amd64 image to debian:stretch-slim to run nvml
Adds GPU support for amd64 (CUDA) and Jetson TX2.