Skip to content

Commit 863c761

Browse files
committed
Store chosen adapter correctly in environment.cpp.
1 parent b163c77 commit 863c761

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/conformance/source/environment.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@ uur::PlatformEnvironment::PlatformEnvironment(int argc, char **argv)
125125
if (platforms.size() == 1 ||
126126
platform_options.platforms_count == 1) {
127127
platform = platforms[0];
128+
adapter = a;
128129
} else {
129130
std::stringstream ss_error;
130131
ss_error << "Select a single platform from below using the "

0 commit comments

Comments
 (0)