mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-30 00:00:11 +01:00
23 lines
609 B
C++
23 lines
609 B
C++
/** GPU Kernels.
|
|
*
|
|
* Author: Daniel Krebs <github@daniel-krebs.net>
|
|
* SPDX-FileCopyrightText: 2017 Institute for Automation of Complex Power Systems, EONERC
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*********************************************************************************/
|
|
|
|
#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 villas */
|
|
} /* namespace gpu */
|