Skip to content

Commit afeedac

Browse files
Now oroCtxSetCurrent() is needed.
1 parent c49682f commit afeedac

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

Test/DeviceEnum/main.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,9 @@ int main( int argc, char** argv )
6666
e = oroCtxCreate( &ctx, 0, device );
6767
ERROR_CHECK( e );
6868

69+
e = oroCtxSetCurrent( ctx );
70+
ERROR_CHECK( e );
71+
6972
//try kernel execution
7073
oroFunction function;
7174
{

0 commit comments

Comments
 (0)