Skip to content

Commit eb04916

Browse files
npmillerkbenzie
authored andcommitted
Remove unused print functions (#18301)
`cuPrint` and `hipPrint` were deleted but the declaration wasn't, these aren't used anywhere, they were replaced by the UR logger.
1 parent db8df7d commit eb04916

File tree

2 files changed

+0
-20
lines changed

2 files changed

+0
-20
lines changed

source/adapters/cuda/common.hpp

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -57,16 +57,6 @@ extern thread_local char ErrorMessage[MaxMessageSize];
5757

5858
void setPluginSpecificMessage(CUresult cu_res);
5959

60-
/// ------ Error handling, matching OpenCL plugin semantics.
61-
namespace detail {
62-
namespace ur {
63-
64-
// Reports error messages
65-
void cuPrint(const char *Message);
66-
67-
} // namespace ur
68-
} // namespace detail
69-
7060
namespace umf {
7161

7262
inline umf_result_t setCUMemoryProviderParams(

source/adapters/hip/common.hpp

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -113,16 +113,6 @@ extern thread_local char ErrorMessage[MaxMessageSize];
113113
[[maybe_unused]] void setErrorMessage(const char *Message,
114114
ur_result_t ErrorCode);
115115

116-
/// ------ Error handling, matching OpenCL plugin semantics.
117-
namespace detail {
118-
namespace ur {
119-
120-
// Reports error messages
121-
void hipPrint(const char *pMessage);
122-
123-
} // namespace ur
124-
} // namespace detail
125-
126116
// Helper method to return a (non-null) pointer's attributes, or std::nullopt in
127117
// the case that the pointer is unknown to the HIP subsystem.
128118
inline static std::optional<hipPointerAttribute_t>

0 commit comments

Comments
 (0)