Loading...
Searching...
No Matches
EnvironmentGpuApi.h
Go to the documentation of this file.
1// SPDX-License-Identifier: MIT
2// Copyright (c) gpridge developers
3#pragma once
4
6
7// These host entry points own device resources. Device algorithms invoke
8// concrete work-item types directly; no host function pointer reaches a GPU.
9extern "C" {
10void* gpr_stdpar_environment_create_v1(char* error,
11 std::size_t capacity) noexcept;
12void gpr_stdpar_environment_destroy_v1(void* workspace) noexcept;
14 void* workspace, const gpr::detail::EnvironmentPairBatch* batch,
15 double* blocks, char* error, std::size_t capacity) noexcept;
16}
void gpr_stdpar_environment_destroy_v1(void *workspace) noexcept
int gpr_stdpar_environment_blocks_v1(void *workspace, const gpr::detail::EnvironmentPairBatch *batch, double *blocks, char *error, std::size_t capacity) noexcept
void * gpr_stdpar_environment_create_v1(char *error, std::size_t capacity) noexcept