Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 225485 Details for
Bug 311657
dev-util/nvidia-cuda-toolkit-3.0: Patch to fix header files
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to fix the CUDA header files.
nvidia-cuda-toolkit-3.0-enum_fix.patch (text/plain), 2.40 KB, created by
Clemens Rabe
on 2010-03-27 20:55:12 UTC
(
hide
)
Description:
Patch to fix the CUDA header files.
Filename:
MIME Type:
Creator:
Clemens Rabe
Created:
2010-03-27 20:55:12 UTC
Size:
2.40 KB
patch
obsolete
>diff -Naur cuda.orig/include/cudaGL.h cuda/include/cudaGL.h >--- cuda.orig/include/cudaGL.h 2010-03-21 13:19:57.000000000 +0100 >+++ cuda/include/cudaGL.h 2010-03-21 13:46:29.000000000 +0100 >@@ -59,7 +59,7 @@ > typedef enum CUGLmap_flags_enum { > CU_GL_MAP_RESOURCE_FLAGS_NONE = 0x00, > CU_GL_MAP_RESOURCE_FLAGS_READ_ONLY = 0x01, >- CU_GL_MAP_RESOURCE_FLAGS_WRITE_DISCARD = 0x02, >+ CU_GL_MAP_RESOURCE_FLAGS_WRITE_DISCARD = 0x02 > } CUGLmap_flags; > > CUresult CUDAAPI cuGLInit(void); >diff -Naur cuda.orig/include/cuda_gl_interop.h cuda/include/cuda_gl_interop.h >--- cuda.orig/include/cuda_gl_interop.h 2010-03-21 13:19:57.000000000 +0100 >+++ cuda/include/cuda_gl_interop.h 2010-03-21 13:28:07.000000000 +0100 >@@ -82,7 +82,7 @@ > { > cudaGLMapFlagsNone = 0, ///< Default; Assume resource can be read/written > cudaGLMapFlagsReadOnly = 1, ///< CUDA kernels will not write to this resource >- cudaGLMapFlagsWriteDiscard = 2, ///< CUDA kernels will only write to and will not read from this resource >+ cudaGLMapFlagsWriteDiscard = 2 ///< CUDA kernels will only write to and will not read from this resource > }; > > extern __host__ cudaError_t CUDARTAPI cudaGLRegisterBufferObject(GLuint bufObj); >diff -Naur cuda.orig/include/driver_types.h cuda/include/driver_types.h >--- cuda.orig/include/driver_types.h 2010-03-21 13:19:57.000000000 +0100 >+++ cuda/include/driver_types.h 2010-03-21 13:26:09.000000000 +0100 >@@ -244,7 +244,7 @@ > /*DEVICE_BUILTIN*/ > enum cudaGraphicsRegisterFlags > { >- cudaGraphicsRegisterFlagsNone = 0, ///< Default >+ cudaGraphicsRegisterFlagsNone = 0 ///< Default > }; > > /** >@@ -255,7 +255,7 @@ > { > cudaGraphicsMapFlagsNone = 0, ///< Default; Assume resource can be read/written > cudaGraphicsMapFlagsReadOnly = 1, ///< CUDA will not write to this resource >- cudaGraphicsMapFlagsWriteDiscard = 2, ///< CUDA will only write to and will not read from this resource >+ cudaGraphicsMapFlagsWriteDiscard = 2 ///< CUDA will only write to and will not read from this resource > }; > > /** >@@ -268,7 +268,7 @@ > cudaGraphicsCubeFacePositiveY = 0x02, ///< Positive Y face of cubemap > cudaGraphicsCubeFaceNegativeY = 0x03, ///< Negative Y face of cubemap > cudaGraphicsCubeFacePositiveZ = 0x04, ///< Positive Z face of cubemap >- cudaGraphicsCubeFaceNegativeZ = 0x05, ///< Negative Z face of cubemap >+ cudaGraphicsCubeFaceNegativeZ = 0x05 ///< Negative Z face of cubemap > }; > > /**
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 311657
: 225485 |
225487