GPRidge v1.0.0
GPR-accelerated saddle point searches on potential energy surfaces
☾
Toggle main menu visibility
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
5
#include "
EnvironmentKernelWork.h
"
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.
9
extern
"C"
{
10
void
*
gpr_stdpar_environment_create_v1
(
char
* error,
11
std::size_t capacity)
noexcept
;
12
void
gpr_stdpar_environment_destroy_v1
(
void
* workspace)
noexcept
;
13
int
gpr_stdpar_environment_blocks_v1
(
14
void
* workspace,
const
gpr::detail::EnvironmentPairBatch* batch,
15
double
* blocks,
char
* error, std::size_t capacity)
noexcept
;
16
}
gpr_stdpar_environment_destroy_v1
void gpr_stdpar_environment_destroy_v1(void *workspace) noexcept
Definition
EnvironmentStdparGpu.cpp:182
gpr_stdpar_environment_blocks_v1
int gpr_stdpar_environment_blocks_v1(void *workspace, const gpr::detail::EnvironmentPairBatch *batch, double *blocks, char *error, std::size_t capacity) noexcept
Definition
EnvironmentStdparGpu.cpp:187
gpr_stdpar_environment_create_v1
void * gpr_stdpar_environment_create_v1(char *error, std::size_t capacity) noexcept
Definition
EnvironmentStdparGpu.cpp:169
EnvironmentKernelWork.h
gpr
covariance_functions
EnvironmentGpuApi.h
Generated by
1.17.0
Generated by
Doxygen 1.17.0
Analytics by
Antics
provided by
TurtleTech ehf