We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b8a1a3f + 4ff8ed4 commit 38b2836Copy full SHA for 38b2836
test/conformance/context/urContextGetInfo.cpp
@@ -2,7 +2,6 @@
2
// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions.
3
// See LICENSE.TXT
4
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
5
-#include <map>
6
#include <uur/fixtures.h>
7
8
struct urContextGetInfoTestWithInfoParam
@@ -14,9 +13,7 @@ struct urContextGetInfoTestWithInfoParam
14
13
15
ctx_info_size_map = {
16
{UR_CONTEXT_INFO_NUM_DEVICES, sizeof(uint32_t)},
17
- {UR_CONTEXT_INFO_DEVICES,
18
- sizeof(ur_device_handle_t) *
19
- uur::DevicesEnvironment::instance->devices.size()},
+ {UR_CONTEXT_INFO_DEVICES, sizeof(ur_device_handle_t)},
20
{UR_CONTEXT_INFO_REFERENCE_COUNT, sizeof(uint32_t)},
21
{UR_CONTEXT_INFO_USM_MEMCPY2D_SUPPORT, sizeof(bool)},
22
{UR_CONTEXT_INFO_USM_FILL2D_SUPPORT, sizeof(bool)},
0 commit comments