Skip to content

Commit

Permalink
Merge pull request #1460 from hdelan/remove-unused-prototypes
Browse files Browse the repository at this point in the history
[HIP][CUDA] Remove function prototypes from enqueue.hpp
  • Loading branch information
aarongreig authored Apr 1, 2024
2 parents 0c0f48d + 46f69b9 commit 0816206
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 0816206

Please sign in to comment.