12.07.2015 Views

NVIDIA CUDA

NVIDIA CUDA

NVIDIA CUDA

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

3.14 C++ API Routines 87Parameters:entry - Device function pointer or char string naming device function to executeReturns:cudaSuccess, cudaErrorInvalidDeviceFunction, cudaErrorInvalidConfigurationNote:Note that this function may also return error codes from previous, asynchronous launches.See also:cudaConfigureCall, cudaSetupArgument (C++ API), cudaLaunch (C API)3.14.2.11 template cudaError_t cudaSetupArgument (T arg, size_t offset)Pushes size bytes of the argument pointed to by arg at offset bytes from the start of the parameter passing area,which starts at offset 0. The arguments are stored in the top of the execution stack. cudaSetupArgument() must bepreceded by a call to cudaConfigureCall().Parameters:arg - Argument to push for a kernel launchoffset - Offset in argument stack to push new argReturns:Note:See also:cudaSuccessNote that this function may also return error codes from previous, asynchronous launches.cudaLaunch (C++ API), cudaSetupArgument (C API) cudaConfigureCall3.14.2.12 template cudaError_tcudaUnbindTexture (const struct texture< T, dim, readMode > & tex)Unbinds the texture bound to tex.Parameters:tex - Texture to unbindReturns:Note:cudaSuccessNote that this function may also return error codes from previous, asynchronous launches.Generated on Wed Apr 1 16:11:42 2009 for <strong>NVIDIA</strong> <strong>CUDA</strong> Library by Doxygen

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!