diff options
author | Glenn Elliott <gelliott@cs.unc.edu> | 2011-03-08 13:02:58 -0500 |
---|---|---|
committer | Glenn Elliott <gelliott@cs.unc.edu> | 2011-03-08 13:02:58 -0500 |
commit | 5b9fde02ba7291f747cf64927e721080fd7ef76a (patch) | |
tree | 24214e6b0dd614b5baa8493c3f0776e3368b981e | |
parent | 3b78f08f4a30b59aa3c9c4833aa1aa001f196135 (diff) |
Added function prototype to litmus.h.
Make nv-registration visible to user code.
-rw-r--r-- | include/litmus.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/litmus.h b/include/litmus.h index 52435d8..a1ee59f 100644 --- a/include/litmus.h +++ b/include/litmus.h | |||
@@ -64,6 +64,9 @@ static inline int od_open(int fd, obj_type_t type, int obj_id) | |||
64 | int litmus_lock(int od); | 64 | int litmus_lock(int od); |
65 | int litmus_unlock(int od); | 65 | int litmus_unlock(int od); |
66 | 66 | ||
67 | /* nvidia graphics cards */ | ||
68 | int register_nv_device(pid_t pid, int nv_device_id); | ||
69 | |||
67 | /* job control*/ | 70 | /* job control*/ |
68 | int get_job_no(unsigned int* job_no); | 71 | int get_job_no(unsigned int* job_no); |
69 | int wait_for_job_release(unsigned int job_no); | 72 | int wait_for_job_release(unsigned int job_no); |