Skip to content

Commit 43fff3c

Browse files
committed
Revert "Merge pull request #2502 from ldrumm/luke/tensormap-version"
This reverts commit ad288bb, reversing changes made to db491ab.
1 parent 73dda25 commit 43fff3c

File tree

1 file changed

+0
-19
lines changed

1 file changed

+0
-19
lines changed

source/adapters/cuda/tensor_map.cpp

-19
Original file line numberDiff line numberDiff line change
@@ -13,24 +13,6 @@
1313

1414
#include "context.hpp"
1515

16-
#if CUDA_VERSION < 12000
17-
UR_APIEXPORT ur_result_t UR_APICALL urTensorMapEncodeIm2ColExp(
18-
ur_device_handle_t, ur_exp_tensor_map_data_type_flags_t, uint32_t, void *,
19-
const uint64_t *, const uint64_t *, const int *, const int *, uint32_t,
20-
uint32_t, const uint32_t *, ur_exp_tensor_map_interleave_flags_t,
21-
ur_exp_tensor_map_swizzle_flags_t, ur_exp_tensor_map_l2_promotion_flags_t,
22-
ur_exp_tensor_map_oob_fill_flags_t, ur_exp_tensor_map_handle_t *) {
23-
return UR_RESULT_ERROR_UNSUPPORTED_FEATURE;
24-
}
25-
UR_APIEXPORT ur_result_t UR_APICALL urTensorMapEncodeTiledExp(
26-
ur_device_handle_t, ur_exp_tensor_map_data_type_flags_t, uint32_t, void *,
27-
const uint64_t *, const uint64_t *, const uint32_t *, const uint32_t *,
28-
ur_exp_tensor_map_interleave_flags_t, ur_exp_tensor_map_swizzle_flags_t,
29-
ur_exp_tensor_map_l2_promotion_flags_t, ur_exp_tensor_map_oob_fill_flags_t,
30-
ur_exp_tensor_map_handle_t *) {
31-
return UR_RESULT_ERROR_UNSUPPORTED_FEATURE;
32-
}
33-
#else
3416
struct ur_exp_tensor_map_handle_t_ {
3517
CUtensorMap Map;
3618
};
@@ -158,4 +140,3 @@ UR_APIEXPORT ur_result_t UR_APICALL urTensorMapEncodeTiledExp(
158140
}
159141
return UR_RESULT_SUCCESS;
160142
}
161-
#endif

0 commit comments

Comments
 (0)