A Modern GPGPU API & wip linux RDNA2+ Driver
rdna driver linux gpu
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

amdgpu: fix improper deref

+2 -1
+2 -1
drivers/amdgpu/mem.cpp
··· 14 14 auto alignment = VEK_HUGE_PAGE_SIZE; 15 15 16 16 KesAllocation alloc = {}; 17 - auto *impl = reinterpret_cast<AllocationImpl*>(alloc._internal); 17 + auto *impl = new AllocationImpl; 18 + alloc._internal = impl; 18 19 19 20 alloc.size = aligned_size; 20 21 impl->bo = nullptr;