Quantcast
Channel: AMD Developer Forums: Message List - OpenGL & Vulkan
Viewing all articles
Browse latest Browse all 631

wglGetGPUInfoAMD crashing on Radeon HD 8790M

$
0
0

This code is crashing our Dell Latitude E6540 running Windows 7 64-bit with driver version 13.250.18.0 (dated 11/29/2013).

 

UINT n = wglGetGPUIDsAMD(0, 0);
UINT * ids = new UINT[n];
UINT total_mem_mb = 0;
wglGetGPUIDsAMD(n, ids);
wglGetGPUInfoAMD(ids[0], WGL_GPU_RAM_AMD, GL_UNSIGNED_INT, sizeof(UINT), &total_mem_mb); // crash here

 

I see there was a similar report made on these forums a while back

 

: wglGetGPUInfoAMD behavior

 

But there's no mention of whether the problem was resolved. This code generally seems to work fine on desktop AMD cards. I've attached a simple test program that reproduces the problem.


Viewing all articles
Browse latest Browse all 631

Trending Articles