Skip to content

[HIP][CUDA] Remove function prototypes from enqueue.hpp #1460

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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