Skip to content

Commit

Permalink
Merge pull request #106 from GPUOpen-LibrariesAndSDKs/feature/ORO-0-6…
Browse files Browse the repository at this point in the history
….0-fix

Now oroCtxSetCurrent() is needed.
  • Loading branch information
KaoCC authored Oct 29, 2024
2 parents f14dc70 + afeedac commit e8da229
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 e8da229

Please sign in to comment.