1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00
VILLASnode/fpga/gpu/kernels.hpp

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

24 lines
599 B
C++
Raw Permalink Normal View History

/* GPU Kernels.
2018-06-25 17:03:09 +02:00
*
* Author: Daniel Krebs <github@daniel-krebs.net>
* SPDX-FileCopyrightText: 2017 Institute for Automation of Complex Power Systems, RWTH Aachen University
* SPDX-License-Identifier: Apache-2.0
*/
2018-06-25 17:03:09 +02:00
#pragma once
#include <cstdint>
#include <cuda_runtime.h>
namespace villas {
namespace gpu {
__global__ void kernel_mailbox(volatile uint32_t *mailbox,
volatile uint32_t *counter);
__global__ void kernel_memcpy(volatile uint8_t *dst, volatile uint8_t *src,
size_t length);
} // namespace gpu
} // namespace villas