Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
3b50ca0f
Commit
3b50ca0f
authored
Nov 25, 2022
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
opencl: Use the Unix call helpers.
parent
7f808e56
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
7 deletions
+2
-7
opencl_private.h
dlls/opencl/opencl_private.h
+1
-3
pe_wrappers.c
dlls/opencl/pe_wrappers.c
+1
-4
No files found.
dlls/opencl/opencl_private.h
View file @
3b50ca0f
...
...
@@ -33,8 +33,6 @@
BOOL
extension_is_supported
(
const
char
*
name
,
size_t
len
)
DECLSPEC_HIDDEN
;
extern
unixlib_handle_t
opencl_handle
DECLSPEC_HIDDEN
;
#define OPENCL_CALL( func, params ) __wine_unix_call( opencl_handle, unix_ ## func, params )
#define OPENCL_CALL( func, params ) WINE_UNIX_CALL( unix_ ## func, params )
#endif
dlls/opencl/pe_wrappers.c
View file @
3b50ca0f
...
...
@@ -25,8 +25,6 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
opencl
);
unixlib_handle_t
opencl_handle
=
0
;
static
cl_int
filter_extensions
(
const
char
*
unix_exts
,
SIZE_T
size
,
char
*
win_exts
,
size_t
*
ret_size
)
{
char
*
p
=
win_exts
;
...
...
@@ -284,8 +282,7 @@ BOOL WINAPI DllMain( HINSTANCE instance, DWORD reason, void *reserved )
if
(
reason
==
DLL_PROCESS_ATTACH
)
{
DisableThreadLibraryCalls
(
instance
);
return
!
NtQueryVirtualMemory
(
GetCurrentProcess
(),
instance
,
MemoryWineUnixFuncs
,
&
opencl_handle
,
sizeof
(
opencl_handle
),
NULL
);
return
!
__wine_init_unix_call
();
}
return
TRUE
;
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment