Ignore:
Timestamp:
Oct 19, 2019, 12:55:18 PM (11 months ago)
Author:
matszpk
Message:

CLRadeonExtender: CLHelper: Include specific extension in device name for ROCm-OpenCL platform.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • CLRadeonExtender/trunk/clhelper/CLHelper.cpp

    r4654 r4996  
    391391            }
    392392        }
     393        else if (binaryFormat==BinaryFormat::ROCM)
     394        {
     395            size_t index = strcspn(devNamePtr, "+-");
     396            if (index==0)
     397                throw;
     398            CString tdevName(devNamePtr, devNamePtr+index);
     399            devType = getGPUDeviceTypeFromName(tdevName.c_str());
     400        }
    393401        else
    394402            throw;
Note: See TracChangeset for help on using the changeset viewer.