OpenCV 4.0 and AMD processor Python

Question:

Can I somehow use my AMD GPU to speed up computations in my Python script? I’m doing object detection using OpenCV 4.0 with cv2.dnn module.

Basing on similar questions I’ve tried to use cv2.UMat but it doesn’t speed up computations, so I assume that the script was still run on my poor CPU.

GPU info: Advanced Micro Devices, Inc. [AMD/ATI] Thames [Radeon HD 7500M/7600M Series]

Asked By: Alexandra

||

Answers:

Sorry but AFAICT, that’s a fairly old GPU (pre-GCN architecture). Those were not really suited for GPGPU computations. It should be still possible to install OpenCL drivers, but i cannot guarantee anything as i can’t try it.

I assume you’re on linux. Here is an article on how to use older AMD GPUs with Linux. You would have to follow steps in “Running Open CL on old cards” section, which involve installing Ubuntu 14.04 and fglrx 15.12 drivers.

Answered By: mogu
Categories: questions Tags: , , , ,
Answers are sorted by their score. The answer accepted by the question owner as the best is marked with
at the top-right corner.