diff options
| author | Arthur Hanson Rasmusson <arthur@vgpu.io> | 2026-09-30 00:06:42 -0400 |
|---|---|---|
| committer | Arthur Hanson Rasmusson <arthur@vgpu.io> | 2026-09-30 00:06:42 -0400 |
| commit | 5cad2f2cc680333061ef53378b46280fb352e450 (patch) | |
| tree | d258845525aba595caab50052c0ab86499ec8ec3 /tools/test | |
| parent | dcecd983425c9f782ca518ed6e612de7c0c04bc6 (diff) | |
| download | open-iov-5cad2f2cc680333061ef53378b46280fb352e450.tar.gz open-iov-5cad2f2cc680333061ef53378b46280fb352e450.zip | |
gsprm: reply-latency logging + param dump cap; guest-diag: CDT_PAUSE, watcher reaping, wider CE stream window
Diffstat (limited to 'tools/test')
| -rw-r--r-- | tools/test/cuda_drv_test.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/test/cuda_drv_test.c b/tools/test/cuda_drv_test.c index 8995a55..f3ee02f 100644 --- a/tools/test/cuda_drv_test.c +++ b/tools/test/cuda_drv_test.c @@ -99,6 +99,14 @@ int main(void) printf("device 0 = %d\n", dev); MARK("cuCtxCreate"); + { + const char *pause = getenv("CDT_PAUSE"); + if (pause && atoi(pause) > 0) { + printf("CDT_PAUSE: sleeping %d s before cuCtxCreate\n", atoi(pause)); + fflush(stdout); + sleep((unsigned)atoi(pause)); + } + } CHECK(cuCtxCreate(&ctx, 0, dev)); printf("context = %p\n", ctx); |
