Skip to content

Commit e8da229

Browse files
authored
Merge pull request #106 from GPUOpen-LibrariesAndSDKs/feature/ORO-0-6.0-fix
Now oroCtxSetCurrent() is needed.
2 parents f14dc70 + afeedac commit e8da229

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Test/DeviceEnum/main.cpp

+3
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)