summaryrefslogtreecommitdiffstats
path: root/kernels.h
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2016-06-17 21:14:09 +0200
committerSuren A. Chilingaryan <csa@suren.me>2016-06-17 21:14:09 +0200
commit8a59e1d17a83e4744071dfa790db974c296c206e (patch)
tree935fed6d263103b2249286d5fcd9b28470e45317 /kernels.h
parenta6f3e96f2cafc183ab29e53007a86bb968d654b8 (diff)
downloadgdrtest-8a59e1d17a83e4744071dfa790db974c296c206e.tar.gz
gdrtest-8a59e1d17a83e4744071dfa790db974c296c206e.tar.bz2
gdrtest-8a59e1d17a83e4744071dfa790db974c296c206e.tar.xz
gdrtest-8a59e1d17a83e4744071dfa790db974c296c206e.zip
Use undocumented event-based APIHEADmaster
Diffstat (limited to 'kernels.h')
-rw-r--r--kernels.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/kernels.h b/kernels.h
index 9158401..12eaa5e 100644
--- a/kernels.h
+++ b/kernels.h
@@ -1,4 +1,7 @@
__global__ void null(uint32_t *data);
+__global__ void feedback(volatile void *bar, uint32_t *data);
+__global__ void measure(int iter, volatile void *bar, uint64_t bus_addr, uint64_t *res, uint32_t *data);
+
__global__ void ipedma(volatile void *bar, uintptr_t bus_addr, volatile uint32_t *counter, volatile uint64_t *desc, uint32_t *data);