mirror of
https://gitlab.winehq.org/wine/wine-staging.git
synced 2024-11-21 16:46:54 -08:00
Updated nvcuda-CUDA_Support patchset
This commit is contained in:
parent
d8881486da
commit
c3db92d75d
@ -1,25 +1,25 @@
|
||||
From b3f2f6d8a32de3c4db5c9a132e5cf43528e63f4b Mon Sep 17 00:00:00 2001
|
||||
From 318d8401fdfa9209b6493360d721bf87a5727e12 Mon Sep 17 00:00:00 2001
|
||||
From: Sebastian Lackner <sebastian@fds-team.de>
|
||||
Date: Sat, 3 Jan 2015 03:32:12 +0100
|
||||
Subject: [PATCH] nvcuda: Add stub dll.
|
||||
|
||||
---
|
||||
configure.ac | 1 +
|
||||
dlls/nvcuda/Makefile.in | 5 +
|
||||
dlls/nvcuda/nvcuda.c | 35 +++++
|
||||
dlls/nvcuda/Makefile.in | 8 ++
|
||||
dlls/nvcuda/nvcuda.c | 34 +++++
|
||||
dlls/nvcuda/nvcuda.rc | 33 +++++
|
||||
dlls/nvcuda/nvcuda.spec | 308 ++++++++++++++++++++++++++++++++++++++++
|
||||
5 files changed, 382 insertions(+)
|
||||
5 files changed, 384 insertions(+)
|
||||
create mode 100644 dlls/nvcuda/Makefile.in
|
||||
create mode 100644 dlls/nvcuda/nvcuda.c
|
||||
create mode 100644 dlls/nvcuda/nvcuda.rc
|
||||
create mode 100644 dlls/nvcuda/nvcuda.spec
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index 49d414e1d17..9c2efc4d35e 100644
|
||||
index 7313fde9a4e..912d1b4ab83 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -2903,6 +2903,7 @@ WINE_CONFIG_MAKEFILE(dlls/ntoskrnl.exe)
|
||||
@@ -2924,6 +2924,7 @@ WINE_CONFIG_MAKEFILE(dlls/ntoskrnl.exe)
|
||||
WINE_CONFIG_MAKEFILE(dlls/ntoskrnl.exe/tests)
|
||||
WINE_CONFIG_MAKEFILE(dlls/ntprint)
|
||||
WINE_CONFIG_MAKEFILE(dlls/ntprint/tests)
|
||||
@ -29,21 +29,24 @@ index 49d414e1d17..9c2efc4d35e 100644
|
||||
WINE_CONFIG_MAKEFILE(dlls/odbcbcp)
|
||||
diff --git a/dlls/nvcuda/Makefile.in b/dlls/nvcuda/Makefile.in
|
||||
new file mode 100644
|
||||
index 00000000000..f80da630710
|
||||
index 00000000000..5ea9bc64f1c
|
||||
--- /dev/null
|
||||
+++ b/dlls/nvcuda/Makefile.in
|
||||
@@ -0,0 +1,5 @@
|
||||
@@ -0,0 +1,8 @@
|
||||
+MODULE = nvcuda.dll
|
||||
+EXTRADLLFLAGS = -mcygwin
|
||||
+
|
||||
+C_SRCS = \
|
||||
+ nvcuda.c
|
||||
+
|
||||
+RC_SRCS = \
|
||||
+ nvcuda.rc
|
||||
diff --git a/dlls/nvcuda/nvcuda.c b/dlls/nvcuda/nvcuda.c
|
||||
new file mode 100644
|
||||
index 00000000000..f89ebc9d3e2
|
||||
index 00000000000..ef1d8c2a2db
|
||||
--- /dev/null
|
||||
+++ b/dlls/nvcuda/nvcuda.c
|
||||
@@ -0,0 +1,35 @@
|
||||
@@ -0,0 +1,34 @@
|
||||
+/*
|
||||
+ * Copyright (C) 2014-2015 Sebastian Lackner
|
||||
+ *
|
||||
@ -62,7 +65,6 @@ index 00000000000..f89ebc9d3e2
|
||||
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
||||
+ */
|
||||
+
|
||||
+#include "config.h"
|
||||
+#include <stdarg.h>
|
||||
+
|
||||
+#include "windef.h"
|
||||
@ -433,5 +435,5 @@ index 00000000000..279f7ab803b
|
||||
+@ stub cuTexRefSetMipmappedArray
|
||||
+@ stub cuWGLGetDevice
|
||||
--
|
||||
2.35.1
|
||||
2.38.1
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user