summaryrefslogtreecommitdiffstats
path: root/tools/test
diff options
context:
space:
mode:
authorArthur Hanson Rasmusson <arthur@vgpu.io>2026-09-30 00:06:42 -0400
committerArthur Hanson Rasmusson <arthur@vgpu.io>2026-09-30 00:06:42 -0400
commit2c001647e47455544739fc8f4e841c6b93cbe32f (patch)
tree4121924eb52aa18d8b0a614320e830edb4e45951 /tools/test
parent6d380a3c3f5cc3cac1fb3bea913b18bbfb1f3a13 (diff)
downloadopen-iov-2c001647e47455544739fc8f4e841c6b93cbe32f.tar.gz
open-iov-2c001647e47455544739fc8f4e841c6b93cbe32f.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.c8
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);