GPU Compute Software
Ask questions about Intel® Graphics Compute software technologies, such as OpenCL* GPU driver and oneAPI Level Zero
116 Discussions

I failed to run hello_world_opencl project from opencl NEO implementation

chunye
Employee
1,004 Views

I downloaded code from https://github.com/intel/compute-runtime and I could succeed in building 6 dlls( iga64.dll, igc64.dll, igdfcl64.dll, igdgmm64.dll, igdrcl64.dll, opencl-clang64.dll) located at build\Windows64\Debug\bin\Debug

following https://wiki.ith.intel.com/display/MediaWiki/Build+and+replace+NEO+drivers. But when I tried to set hello_world_opencl project as start-up project and ran it, I met assertion failed located at at line 351 of wddm.cpp

the tag of my build is ci-neo-025640 and its baseline is gfx-driver-ci-master-13176.

Here is the context:

auto status = osEnvironment.gdi->queryAdapterInfo(&queryAdapterInfo);

//here status is not STATUS_SUCCESS

Here is call stack:

> igdrcl64.dll!NEO::validDriverStorePath(NEO::OsEnvironmentWin & osEnvironment, unsigned int adapter) Line 351 C++
igdrcl64.dll!NEO::createHwDeviceIdFromAdapterLuid(NEO::OsEnvironmentWin & osEnvironment, _LUID adapterLuid, unsigned int adapterNodeOrdinal) Line 373 C++
igdrcl64.dll!NEO::Wddm::discoverDevices(NEO::ExecutionEnvironment & executionEnvironment) Line 443 C++
igdrcl64.dll!NEO::OSInterface::discoverDevices(NEO::ExecutionEnvironment & executionEnvironment) Line 14 C++
igdrcl64.dll!NEO::DeviceFactory::prepareDeviceEnvironments(NEO::ExecutionEnvironment & executionEnvironment) Line 146 C++
igdrcl64.dll!NEO::prepareDeviceEnvironmentsImpl(NEO::ExecutionEnvironment & executionEnvironment) Line 59 C++
igdrcl64.dll!NEO::prepareDeviceEnvironments(NEO::ExecutionEnvironment & executionEnvironment, std::string & osPciPath, const unsigned int rootDeviceIndex) Line 20 C++
igdrcl64.dll!NEO::prepareDeviceEnvironments(NEO::ExecutionEnvironment & executionEnvironment) Line 53 C++
igdrcl64.dll!NEO::DeviceFactory::createDevices(NEO::ExecutionEnvironment & executionEnvironment) Line 207 C++
igdrcl64.dll!clGetPlatformIDs(unsigned int numEntries, _cl_platform_id * * platforms, unsigned int * numPlatforms) Line 98 C++
hello_world_opencl.exe!main(int argc, char * * argv) Line 38 C++
[External Code]

0 Kudos
1 Reply
Dunni_A_Intel
Moderator
821 Views

Hi,

We don’t support building the source on GitHub for Windows. Please see https://github.com/intel/compute-runtime/blob/master/FAQ.md#does-neo-support-microsoft-windows.

Please let us know if you have additional questions.

Dunni


0 Kudos
Reply