dbghelp: Use RtlGetVersion() for system version detection instead.
[wine.git] / dlls / opencl / unix_wrappers.c
blob5967979dba29d5df3beadc86a9689b8d4a1ba3cc
1 /*
2 * Copyright 2021 Zebediah Figura
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19 #if 0
20 #pragma makedep unix
21 #endif
23 #include "config.h"
24 #include <stdlib.h>
25 #include "unix_private.h"
27 WINE_DEFAULT_DEBUG_CHANNEL(opencl);
29 NTSTATUS wrap_clBuildProgram( void *args )
31 struct clBuildProgram_params *params = args;
33 if (params->pfn_notify) FIXME( "notify callback not supported\n" );
34 return clBuildProgram( params->program, params->num_devices, params->device_list,
35 params->options, NULL, NULL );
38 NTSTATUS wrap_clCreateContext( void *args )
40 struct clCreateContext_params *params = args;
42 if (params->pfn_notify) FIXME( "notify callback not supported\n" );
43 *params->__retval = clCreateContext( params->properties, params->num_devices, params->devices,
44 NULL, NULL, params->errcode_ret );
45 return STATUS_SUCCESS;
48 NTSTATUS wrap_clCreateContextFromType( void *args )
50 struct clCreateContextFromType_params *params = args;
52 if (params->pfn_notify) FIXME( "notify callback not supported\n" );
53 *params->__retval = clCreateContextFromType( params->properties, params->device_type,
54 NULL, NULL, params->errcode_ret );
55 return STATUS_SUCCESS;
58 NTSTATUS wrap_clEnqueueNativeKernel( void *args )
60 /* we have no clear way to wrap user_func */
61 FIXME( "not implemented\n" );
62 return CL_INVALID_OPERATION;
65 NTSTATUS wrap_clSetEventCallback( void *args )
67 FIXME( "not yet implemented\n" );
68 return CL_INVALID_OPERATION;
71 NTSTATUS wrap_clSetMemObjectDestructorCallback( void *args )
73 FIXME( "not yet implemented\n" );
74 return CL_INVALID_OPERATION;
77 NTSTATUS wrap_clCompileProgram( void *args )
79 FIXME( "not yet implemented\n" );
80 return CL_INVALID_OPERATION;
83 NTSTATUS wrap_clLinkProgram( void *args )
85 struct clLinkProgram_params *params = args;
87 FIXME( "not yet implemented\n" );
88 *params->errcode_ret = CL_INVALID_OPERATION;
89 return STATUS_SUCCESS;