mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2025-09-11 17:44:38 +00:00
integrated optional (experimentl) CLBlast support
This commit is contained in:
parent
c9f18082fd
commit
23c675b2e6
53 changed files with 22095 additions and 151 deletions
42
CL/Utils/OpenCLUtils_Export.h
Normal file
42
CL/Utils/OpenCLUtils_Export.h
Normal file
|
@ -0,0 +1,42 @@
|
|||
|
||||
#ifndef UTILS_EXPORT_H
|
||||
#define UTILS_EXPORT_H
|
||||
|
||||
#ifdef OPENCLUTILS_STATIC_DEFINE
|
||||
# define UTILS_EXPORT
|
||||
# define OPENCLUTILS_NO_EXPORT
|
||||
#else
|
||||
# ifndef UTILS_EXPORT
|
||||
# ifdef OpenCLUtils_EXPORTS
|
||||
/* We are building this library */
|
||||
# define UTILS_EXPORT
|
||||
# else
|
||||
/* We are using this library */
|
||||
# define UTILS_EXPORT
|
||||
# endif
|
||||
# endif
|
||||
|
||||
# ifndef OPENCLUTILS_NO_EXPORT
|
||||
# define OPENCLUTILS_NO_EXPORT
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#ifndef OPENCLUTILS_DEPRECATED
|
||||
# define OPENCLUTILS_DEPRECATED __declspec(deprecated)
|
||||
#endif
|
||||
|
||||
#ifndef OPENCLUTILS_DEPRECATED_EXPORT
|
||||
# define OPENCLUTILS_DEPRECATED_EXPORT UTILS_EXPORT OPENCLUTILS_DEPRECATED
|
||||
#endif
|
||||
|
||||
#ifndef OPENCLUTILS_DEPRECATED_NO_EXPORT
|
||||
# define OPENCLUTILS_DEPRECATED_NO_EXPORT OPENCLUTILS_NO_EXPORT OPENCLUTILS_DEPRECATED
|
||||
#endif
|
||||
|
||||
#if 0 /* DEFINE_NO_DEPRECATED */
|
||||
# ifndef OPENCLUTILS_NO_DEPRECATED
|
||||
# define OPENCLUTILS_NO_DEPRECATED
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#endif /* UTILS_EXPORT_H */
|
Loading…
Add table
Add a link
Reference in a new issue