Skip to content

Commit

Permalink
Now oroCtxSetCurrent() is needed.
Browse files Browse the repository at this point in the history
  • Loading branch information
takahiroharada committed Oct 29, 2024
1 parent c49682f commit afeedac
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Test/DeviceEnum/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
{
Expand Down

0 comments on commit afeedac

Please sign in to comment.