Skip to content
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 GPU/GPUTracking/Base/GPUReconstructionCPU.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -99,11 +99,6 @@ inline void GPUReconstructionCPU::runKernelBackend(const krnlSetupTime& _xyz, co
}
}

void GPUReconstructionCPU::runKernelOnHost(const int num, const void* args)
{
GPUReconstructionCPU::runKernelVirtual(num, args);
}

const void* GPUReconstructionCPU::HostPointer(const void* ptr) const
{
const size_t offset = (const char*)ptr - (const char*)mDeviceMemoryBase;
Expand Down
1 change: 0 additions & 1 deletion GPU/GPUTracking/Base/GPUReconstructionCPU.h
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@ class GPUReconstructionCPU : public GPUReconstructionProcessing::KernelInterface
const void* HostPointer(const void* ptr) const;
void* HostPointer(void* ptr) const { return const_cast<void*>(HostPointer(static_cast<const void*>(ptr))); }
std::unique_ptr<char[]> DeviceProcessorOnHostView(const krnlSetupTime& _xyz);
void runKernelOnHost(const int num, const void* args); // For the kernel specializations of a backend, e.g. with HostOnDeviceMemory

size_t TransferMemoryResourceToGPU(GPUMemoryResource* res, int32_t stream = -1, deviceEvent* ev = nullptr, deviceEvent* evList = nullptr, int32_t nEvents = 1) { return TransferMemoryInternal(res, stream, ev, evList, nEvents, true, res->Ptr(), res->PtrDevice()); }
size_t TransferMemoryResourceToHost(GPUMemoryResource* res, int32_t stream = -1, deviceEvent* ev = nullptr, deviceEvent* evList = nullptr, int32_t nEvents = 1) { return TransferMemoryInternal(res, stream, ev, evList, nEvents, false, res->PtrDevice(), res->Ptr()); }
Expand Down
Loading