Page 1 of 1
Posted: Sun Oct 14, 2018 7:08 pm
Hello everyone, i'd like to know one information about the function __cpuid(). Is there any equivalent of this function for gpus? and finally I'd like to know if there's any kind of API for the AMD gpus and if i can simulate an AMD on a NVIDIA to test some drivers. This is all, i hope you understand what i mean, sorry for my english. Thank you.
Re: cpu/gpu contents
Posted: Sun Oct 14, 2018 8:28 pm
Is there any equivalent of this function for gpus?
For NVIDIA, you may use cudaGetDeviceCount and cudaGetDeviceProperties to get information about all CUDA-capable graphics cards installed. See this
https://stackoverflow.com/questions/568 ... ly-in-cuda
Since I worked only with CUDA, I cannot provide you with information about AMD GPUs unfortunately.