Skip to content
This repository has been archived by the owner on Apr 24, 2022. It is now read-only.

Fix lack of uniqueId on AMD GPU OpenCL without AMD extensions #2333

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Commits on Jul 9, 2021

  1. Fix lack of uniqueId on AMD GPU OpenCL without AMD extensions

    AMD GPU systems need not have a functional
    clGetDeviceInfo(..., CL_DEVICE_TOPOLOGY_AMD, ...).
    
    E.g., Fedora OpenCL with AMD GPU drivers, it seems.  As the code stands it
    doesn't create a uniqueId, and leaves it null.  If there are multiple GPUs,
    the device info is stored to null uniqueId and overwritten - and only one of
    these GPUs will be enumerated and visible to the miner.
    
    Fix this by providing a fall-back, constructing the uniqueId from the
    platform and device indexes.  As is already the case for Intel GPU and CPU
    devices.
    
    Additionally, cosmetically, add a clearer, more self-describing struct for
    the AMD topology data.
    pjakma committed Jul 9, 2021
    Configuration menu
    Copy the full SHA
    d11f479 View commit details
    Browse the repository at this point in the history

Commits on Jul 10, 2021

  1. ethminer/hunter: Fix boost version

    The hard coded 1.66.0 Boost in Hunter no longer downloads, breaking the build.
    Change to the default hunter version.
    pjakma committed Jul 10, 2021
    Configuration menu
    Copy the full SHA
    f4be23d View commit details
    Browse the repository at this point in the history