Skip to content

Commit

Permalink
Remove function prototypes from enqueue.hpp
Browse files Browse the repository at this point in the history
These func prototypes are not needed as funcs are defined in enqueue.cpp before
they are used
  • Loading branch information
hdelan committed Mar 28, 2024
1 parent 0c0f48d commit 46f69b9
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
5 changes: 0 additions & 5 deletions source/adapters/cuda/enqueue.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,6 @@ ur_result_t enqueueEventsWait(ur_queue_handle_t CommandQueue, CUstream Stream,
uint32_t NumEventsInWaitList,
const ur_event_handle_t *EventWaitList);

void guessLocalWorkSize(ur_device_handle_t Device, size_t *ThreadsPerBlock,
const size_t *GlobalWorkSize, const uint32_t WorkDim,
const size_t MaxThreadsPerBlock[3],
ur_kernel_handle_t Kernel, uint32_t LocalSize);

bool hasExceededMaxRegistersPerBlock(ur_device_handle_t Device,
ur_kernel_handle_t Kernel,
size_t BlockSize);
Expand Down
5 changes: 0 additions & 5 deletions source/adapters/hip/enqueue.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,6 @@ ur_result_t enqueueEventsWait(ur_queue_handle_t CommandQueue,
hipStream_t Stream, uint32_t NumEventsInWaitList,
const ur_event_handle_t *EventWaitList);

void guessLocalWorkSize(ur_device_handle_t Device, size_t *ThreadsPerBlock,
const size_t *GlobalWorkSize, const uint32_t WorkDim,
const size_t MaxThreadsPerBlock[3],
ur_kernel_handle_t Kernel, uint32_t LocalSize);

ur_result_t
setKernelParams(const ur_device_handle_t Device, const uint32_t WorkDim,
const size_t *GlobalWorkOffset, const size_t *GlobalWorkSize,
Expand Down

0 comments on commit 46f69b9

Please sign in to comment.