biod.pnpi.spb.ru
/
alexxy
/
gromacs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch release-5-1
[alexxy/gromacs.git]
/
src
/
gromacs
/
gpu_utils
/
oclutils.h
diff --git
a/src/gromacs/gpu_utils/oclutils.h
b/src/gromacs/gpu_utils/oclutils.h
index 9c329408e181a2e9d5d1af76719f24aed25267a7..365b91328a2a1d4a9257404221bafa3bd715e8ed 100644
(file)
--- a/
src/gromacs/gpu_utils/oclutils.h
+++ b/
src/gromacs/gpu_utils/oclutils.h
@@
-126,4
+126,7
@@
void ocl_pmalloc(void **h_ptr, size_t nbytes);
/*! \brief Free host memory in malloc style */
void ocl_pfree(void *h_ptr);
+/*! \brief Convert error code to diagnostic string */
+const char *ocl_get_error_string(cl_int error);
+
#endif