P. 1
CudaReferenceManual_2.0

CudaReferenceManual_2.0

|Views: 2,053|Likes:
Published by Craig Surbrook

More info:

Published by: Craig Surbrook on May 08, 2011
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

12/09/2012

pdf

text

original

NAME

cudaChooseDevice - select compute-device which best matches criteria

SYNOPSIS

cudaError_t cudaChooseDevice( int* dev, const struct cudaDeviceProp* prop )

DESCRIPTION

Returns in *dev the device which properties best match *prop.

RETURN VALUE

Relevant return values:

cudaSuccess

cudaErrorInvalidValue

Note that this function may also return error codes from previous, asynchronous launches.

SEE ALSO

cudaGetDeviceCount, cudaGetDevice, cudaSetDevice, cudaGetDeviceProperties

8

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->