We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e18059c commit d4a6065Copy full SHA for d4a6065
test/utils/device_selection.js
@@ -9,10 +9,10 @@ const cl = require('../..');
9
10
// Grab ALL possible devices into a flat array
11
const devicesAll = cl.getPlatformIDs().flatMap((platform) => {
12
- console.log('Platform:', platform);
+ const version = cl.getPlatformInfo(platform, cl.PLATFORM_VERSION);
13
+ console.log('Platform:', platform, version);
14
const platformDevices = cl.getDeviceIDs(platform);
15
console.log('Devices', platformDevices);
- const version = cl.getPlatformInfo(platform, cl.PLATFORM_VERSION);
16
17
return platformDevices.map((device) => ({
18
platform,
0 commit comments