Skip to content

Commit

Permalink
cuda: header update to 6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
wang-bin committed Apr 18, 2014
1 parent 6b6f8bb commit f6c6906
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions src/cuda/dllapi/cuda.h
Original file line number Diff line number Diff line change
Expand Up @@ -3846,9 +3846,16 @@ CUresult CUDAAPI cuMemHostGetFlags(unsigned int *pFlags, void *p);
* storage is created in 'zero-copy' or system memory. All GPUs will reference
* the data at reduced bandwidth over the PCIe bus. In these circumstances,
* use of the environment variable, CUDA_VISIBLE_DEVICES, is recommended to
* restrict CUDA to only use those GPUs that have peer-to-peer support. This
* environment variable is described in the CUDA programming guide under the
* "CUDA environment variables" section.
* restrict CUDA to only use those GPUs that have peer-to-peer support.
* Alternatively, users can also set CUDA_MANAGED_FORCE_DEVICE_ALLOC to a
* non-zero value to force the driver to always use device memory for physical storage.
* When this environment variable is set to a non-zero value, all contexts created in
* that process on devices that support managed memory have to be peer-to-peer compatible
* with each other. Context creation will fail if a context is created on a device that
* supports managed memory and is not peer-to-peer compatible with any of the other
* managed memory supporting devices on which contexts were previously created, even if
* those contexts have been destroyed. These environment variables are described
* in the CUDA programming guide under the "CUDA environment variables" section.
*
* \param dptr - Returned device pointer
* \param bytesize - Requested allocation size in bytes
Expand Down

0 comments on commit f6c6906

Please sign in to comment.