Skip to content

Commit 46f69b9

Browse files
author
Hugh Delaney
committed
Remove function prototypes from enqueue.hpp
These func prototypes are not needed as funcs are defined in enqueue.cpp before they are used
1 parent 0c0f48d commit 46f69b9

File tree

2 files changed

+0
-10
lines changed

2 files changed

+0
-10
lines changed

source/adapters/cuda/enqueue.hpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,6 @@ ur_result_t enqueueEventsWait(ur_queue_handle_t CommandQueue, CUstream Stream,
1717
uint32_t NumEventsInWaitList,
1818
const ur_event_handle_t *EventWaitList);
1919

20-
void guessLocalWorkSize(ur_device_handle_t Device, size_t *ThreadsPerBlock,
21-
const size_t *GlobalWorkSize, const uint32_t WorkDim,
22-
const size_t MaxThreadsPerBlock[3],
23-
ur_kernel_handle_t Kernel, uint32_t LocalSize);
24-
2520
bool hasExceededMaxRegistersPerBlock(ur_device_handle_t Device,
2621
ur_kernel_handle_t Kernel,
2722
size_t BlockSize);

source/adapters/hip/enqueue.hpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,6 @@ ur_result_t enqueueEventsWait(ur_queue_handle_t CommandQueue,
1717
hipStream_t Stream, uint32_t NumEventsInWaitList,
1818
const ur_event_handle_t *EventWaitList);
1919

20-
void guessLocalWorkSize(ur_device_handle_t Device, size_t *ThreadsPerBlock,
21-
const size_t *GlobalWorkSize, const uint32_t WorkDim,
22-
const size_t MaxThreadsPerBlock[3],
23-
ur_kernel_handle_t Kernel, uint32_t LocalSize);
24-
2520
ur_result_t
2621
setKernelParams(const ur_device_handle_t Device, const uint32_t WorkDim,
2722
const size_t *GlobalWorkOffset, const size_t *GlobalWorkSize,

0 commit comments

Comments
 (0)