From afeedacdf560581761abb8491c89e97fc5c5a704 Mon Sep 17 00:00:00 2001 From: takahiroharada Date: Mon, 28 Oct 2024 17:48:23 -0700 Subject: [PATCH] Now oroCtxSetCurrent() is needed. --- Test/DeviceEnum/main.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Test/DeviceEnum/main.cpp b/Test/DeviceEnum/main.cpp index c17fe2d..1d8cf92 100644 --- a/Test/DeviceEnum/main.cpp +++ b/Test/DeviceEnum/main.cpp @@ -66,6 +66,9 @@ int main( int argc, char** argv ) e = oroCtxCreate( &ctx, 0, device ); ERROR_CHECK( e ); + e = oroCtxSetCurrent( ctx ); + ERROR_CHECK( e ); + //try kernel execution oroFunction function; {