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; {