• Y
    Add paddle.device.cuda.get_device_properties (#35661) · 4cbed9e5
    Yanxing Shi 提交于
    * Initial Commit
    
    * add unittest and add error information
    
    * modify doc
    
    * fix some error
    
    * fix some word
    
    * fix bug cudaDeviceProp* and modify error explanation
    
    * fix cudaDeviceProp* error and unnitest samples
    
    * fix hip error and PADDLE_WITH_HIP
    
    * update style
    
    * fix error is_compiled_with_cuda
    
    * fix paddle.device.cuda.get_device_properties
    
    * fix error for multi thread safe
    
    * update style
    
    * merge conflict
    
    * modify after mentor review
    
    * update style
    
    * delete word
    
    * fix unittest error for windows
    
    * support string input and modify some code
    
    * modify doc to support string input
    
    * fix error for express information
    
    * fix error for express information
    
    * fix unnitest for windows
    
    * fix device.startswith('gpu:')
    
    * format error and doc
    
    * fix after review
    
    * format code
    
    * fix error for doc compile
    
    * fix error for doc compile
    
    * fix error for doc compile
    
    * fix error for doc compile
    
    * fix error for doc compile
    
    * fix py2 error
    
    * fix wrong words and doc
    
    * fix _gpuDeviceProperties
    4cbed9e5
test_get_device_properties.py 2.4 KB