cuda_archs

paddle.version. cuda_archs ( ) [source]

Get compiled cuda archs of paddle package.

Returns

Return the compiled cuda archs if with gpu. If paddle package is not compiled with gpu, it will return “”.

Return type

list[int]

Examples

>>> import paddle

>>> paddle.version.cuda_archs()
>>> 
[86]