1 |
spock 10/07/03 22:54:10 |
2 |
|
3 |
Added: nvidia-cuda-toolkit-3.1-enum_fix.patch |
4 |
Log: |
5 |
Version bump (bug #325831). Thanks to Clemens Rabe for the updated ebuild. |
6 |
(Portage version: 2.1.8.3/cvs/Linux x86_64) |
7 |
|
8 |
Revision Changes Path |
9 |
1.1 dev-util/nvidia-cuda-toolkit/files/nvidia-cuda-toolkit-3.1-enum_fix.patch |
10 |
|
11 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/nvidia-cuda-toolkit/files/nvidia-cuda-toolkit-3.1-enum_fix.patch?rev=1.1&view=markup |
12 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/nvidia-cuda-toolkit/files/nvidia-cuda-toolkit-3.1-enum_fix.patch?rev=1.1&content-type=text/plain |
13 |
|
14 |
Index: nvidia-cuda-toolkit-3.1-enum_fix.patch |
15 |
=================================================================== |
16 |
diff -Naur include.orig/cudaGL.h include/cudaGL.h |
17 |
--- include.orig/cudaGL.h 2010-04-28 09:31:16.000000000 +0200 |
18 |
+++ include/cudaGL.h 2010-05-21 00:04:47.000000000 +0200 |
19 |
@@ -59,7 +59,7 @@ |
20 |
typedef enum CUGLmap_flags_enum { |
21 |
CU_GL_MAP_RESOURCE_FLAGS_NONE = 0x00, |
22 |
CU_GL_MAP_RESOURCE_FLAGS_READ_ONLY = 0x01, |
23 |
- CU_GL_MAP_RESOURCE_FLAGS_WRITE_DISCARD = 0x02, |
24 |
+ CU_GL_MAP_RESOURCE_FLAGS_WRITE_DISCARD = 0x02 |
25 |
} CUGLmap_flags; |
26 |
|
27 |
CUresult CUDAAPI cuGLInit(void); |
28 |
diff -Naur include.orig/cuda_gl_interop.h include/cuda_gl_interop.h |
29 |
--- include.orig/cuda_gl_interop.h 2010-04-28 09:30:46.000000000 +0200 |
30 |
+++ include/cuda_gl_interop.h 2010-05-21 00:05:08.000000000 +0200 |
31 |
@@ -83,7 +83,7 @@ |
32 |
{ |
33 |
cudaGLMapFlagsNone = 0, ///< Default; Assume resource can be read/written |
34 |
cudaGLMapFlagsReadOnly = 1, ///< CUDA kernels will not write to this resource |
35 |
- cudaGLMapFlagsWriteDiscard = 2, ///< CUDA kernels will only write to and will not read from this resource |
36 |
+ cudaGLMapFlagsWriteDiscard = 2 ///< CUDA kernels will only write to and will not read from this resource |
37 |
}; |
38 |
|
39 |
extern __host__ cudaError_t CUDARTAPI cudaGLRegisterBufferObject(GLuint bufObj); |