From 46f69b9fd935a38191d8b177421c694b86ba76d1 Mon Sep 17 00:00:00 2001 From: Hugh Delaney Date: Wed, 20 Mar 2024 09:24:43 +0000 Subject: [PATCH] Remove function prototypes from enqueue.hpp These func prototypes are not needed as funcs are defined in enqueue.cpp before they are used --- source/adapters/cuda/enqueue.hpp | 5 ----- source/adapters/hip/enqueue.hpp | 5 ----- 2 files changed, 10 deletions(-) diff --git a/source/adapters/cuda/enqueue.hpp b/source/adapters/cuda/enqueue.hpp index 64c590f742..c925a27295 100644 --- a/source/adapters/cuda/enqueue.hpp +++ b/source/adapters/cuda/enqueue.hpp @@ -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); diff --git a/source/adapters/hip/enqueue.hpp b/source/adapters/hip/enqueue.hpp index c84b47d479..a1f86b3678 100644 --- a/source/adapters/hip/enqueue.hpp +++ b/source/adapters/hip/enqueue.hpp @@ -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,