aboutsummaryrefslogtreecommitdiffstats
path: root/schedAPI.h
diff options
context:
space:
mode:
authorJoshua Bakita <bakitajoshua@gmail.com>2020-10-15 20:44:33 -0400
committerJoshua Bakita <bakitajoshua@gmail.com>2020-10-15 20:44:33 -0400
commit9e82e2c7cca65a8eb60d5bd99da66241c01a2991 (patch)
treef5ac2263d40995c09a3ae656f81d860eac3f658c /schedAPI.h
Import GPU scheduler code from 2019 GM deliverable
Code provided by Don Smith via tar file. `.gitignore` added by me.
Diffstat (limited to 'schedAPI.h')
-rw-r--r--schedAPI.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/schedAPI.h b/schedAPI.h
new file mode 100644
index 0000000..00105fc
--- /dev/null
+++ b/schedAPI.h
@@ -0,0 +1,10 @@
1/*
2 * This include file provides function prototypes for the
3 * GPU scheduler functions implemented by schedLib.c and used
4 * in the Cuda wrapper functions.
5 */
6void streamInit(pid_t my_tid, int priority);
7void schedConfCall(pid_t my_tid, void *stream, int blocks, int threads);
8void schedLaunch(pid_t my_tid);
9void schedSync(pid_t my_pid, void *stream);
10void tracePrint(void);