2021-03-16 05:44:50 +01:00
|
|
|
/*
|
|
|
|
* Copyright 2021 Zebediah Figura
|
|
|
|
*
|
|
|
|
* This library is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
|
|
* License as published by the Free Software Foundation; either
|
|
|
|
* version 2.1 of the License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This library is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
* Lesser General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
|
|
* License along with this library; if not, write to the Free Software
|
|
|
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __WINE_UNIX_PRIVATE_H
|
|
|
|
#define __WINE_UNIX_PRIVATE_H
|
|
|
|
|
2021-03-20 21:59:23 +01:00
|
|
|
#include <stdarg.h>
|
|
|
|
#include <stdint.h>
|
|
|
|
|
|
|
|
#include "ntstatus.h"
|
|
|
|
#define WIN32_NO_STATUS
|
|
|
|
#include "windef.h"
|
|
|
|
#include "winbase.h"
|
|
|
|
#include "winternl.h"
|
2021-11-23 16:56:43 +01:00
|
|
|
#include "wine/unixlib.h"
|
2021-03-20 21:59:23 +01:00
|
|
|
#include "wine/debug.h"
|
2021-03-16 05:44:50 +01:00
|
|
|
|
2021-03-16 05:44:51 +01:00
|
|
|
#define CL_SILENCE_DEPRECATION
|
|
|
|
#if defined(HAVE_CL_CL_H)
|
|
|
|
#define CL_USE_DEPRECATED_OPENCL_1_0_APIS
|
|
|
|
#define CL_USE_DEPRECATED_OPENCL_1_1_APIS
|
|
|
|
#define CL_USE_DEPRECATED_OPENCL_1_2_APIS
|
|
|
|
#define CL_USE_DEPRECATED_OPENCL_2_0_APIS
|
|
|
|
#define CL_TARGET_OPENCL_VERSION 220
|
|
|
|
#include <CL/cl.h>
|
|
|
|
#elif defined(HAVE_OPENCL_OPENCL_H)
|
|
|
|
#include <OpenCL/opencl.h>
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#include "unixlib.h"
|
|
|
|
|
2021-11-23 16:56:43 +01:00
|
|
|
NTSTATUS wrap_clBuildProgram( void *args ) DECLSPEC_HIDDEN;
|
|
|
|
NTSTATUS wrap_clCreateContext( void *args ) DECLSPEC_HIDDEN;
|
|
|
|
NTSTATUS wrap_clCreateContextFromType( void *args ) DECLSPEC_HIDDEN;
|
|
|
|
NTSTATUS wrap_clEnqueueNativeKernel( void *args ) DECLSPEC_HIDDEN;
|
|
|
|
NTSTATUS wrap_clSetEventCallback( void *args ) DECLSPEC_HIDDEN;
|
|
|
|
NTSTATUS wrap_clSetMemObjectDestructorCallback( void *args ) DECLSPEC_HIDDEN;
|
|
|
|
NTSTATUS wrap_clCompileProgram( void *args ) DECLSPEC_HIDDEN;
|
|
|
|
NTSTATUS wrap_clLinkProgram( void *args ) DECLSPEC_HIDDEN;
|
2021-03-16 05:44:50 +01:00
|
|
|
|
|
|
|
#endif
|