Skip to content

Commit 4a8c432

Browse files
authored
[SYCL] Fix broken build after introduction USM to ocl headers (#1852)
Signed-off-by: Artur Gainullin <[email protected]>
1 parent bba5911 commit 4a8c432

File tree

3 files changed

+0
-194
lines changed

3 files changed

+0
-194
lines changed

sycl/include/CL/cl_usm_ext.h

Lines changed: 0 additions & 186 deletions
This file was deleted.

sycl/include/CL/sycl/detail/pi.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@
4646
// elsewhere, e.g. in the pi_opencl, but constants/enums mapping is now
4747
// done here, for efficiency and simplicity.
4848
#include <CL/cl_ext_intel.h>
49-
#include <CL/cl_usm_ext.h>
5049
#include <CL/sycl/detail/cl.h>
5150
#include <CL/sycl/detail/export.hpp>
5251
#include <cstdint>
@@ -1340,8 +1339,6 @@ typedef enum {
13401339
PI_MEM_ALLOC_BASE_PTR = CL_MEM_ALLOC_BASE_PTR_INTEL,
13411340
PI_MEM_ALLOC_SIZE = CL_MEM_ALLOC_SIZE_INTEL,
13421341
PI_MEM_ALLOC_DEVICE = CL_MEM_ALLOC_DEVICE_INTEL,
1343-
PI_MEM_ALLOC_INFO_TBD0 = CL_MEM_ALLOC_INFO_TBD0_INTEL,
1344-
PI_MEM_ALLOC_INFO_TBD1 = CL_MEM_ALLOC_INFO_TBD1_INTEL,
13451342
} _pi_mem_info;
13461343

13471344
typedef enum {

sycl/plugins/cuda/pi_cuda.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3611,11 +3611,6 @@ pi_result cuda_piextUSMGetMemAllocInfo(pi_context context, const void *ptr,
36113611
return getInfo(param_value_size, param_value, param_value_size_ret,
36123612
device);
36133613
}
3614-
// not documented/implemented yet
3615-
case PI_MEM_ALLOC_INFO_TBD0:
3616-
case PI_MEM_ALLOC_INFO_TBD1: {
3617-
return PI_INVALID_VALUE;
3618-
}
36193614
}
36203615
} catch (pi_result error) {
36213616
result = error;

0 commit comments

Comments
 (0)