Discussion created by uelkfr on Jul 24, 2011
Latest reply on Jul 27, 2011 by uelkfr

I have installed APP SDK 2.4 x64 on Windows 7 x64-bit. Then ever I try run any sample it gives me this error:


                        BUILD LOG
Internal error: Link failed.
Make sure the system setup is correct.
Error: Program::build() failed. Error code : CL_BUILD_PROGRAM_FAILURE


My hardware configuration ASUS K50I Series notebook, Pentium(R) Dual-Core CPU T4400  @ 2.20GH (it has SSE3, checked), NVIDIA GeForce 310M (OpenCL 1.0 not used, sample falling back to CPU), 3Gb DD3 RAM.

How to check "the system setup is correct"?

clinfo.exe gives this:


Number of platforms:                 2
  Platform Profile:                 FULL_PROFILE
  Platform Version:                 OpenCL 1.0 CUDA 4.0.1
  Platform Name:                 NVIDIA CUDA
  Platform Vendor:                 NVIDIA Corporation
  Platform Extensions:                 cl_khr_byte_addressable_store cl_khr_icd cl_khr_gl_sharing cl_nv_d3d9_sharing cl_nv_d3d10_sharing cl_khr_d3d10_sharing cl_nv_d3d11_sharing cl_nv_compiler_options cl_nv_device_attribute_query cl_nv_pragma_unroll
  Platform Profile:                 FULL_PROFILE
  Platform Version:                 OpenCL 1.1 AMD-APP-SDK-v2.4 (595.10)
  Platform Name:                 AMD Accelerated Parallel Processing
  Platform Vendor:                 Advanced Micro Devices, Inc.
  Platform Extensions:                 cl_khr_icd cl_amd_event_callback cl_amd_offline_devices cl_khr_d3d10_sharing

  Platform Name:                 NVIDIA CUDA
Number of devices:                 1
  Device Type:                     CL_DEVICE_TYPE_GPU
  Device ID:                     4318
  Max compute units:                 3
  Max work items dimensions:             3
    Max work items[0]:                 512
    Max work items[1]:                 512
    Max work items[2]:                 64
  Max work group size:                 512
  Preferred vector width char:             1
  Preferred vector width short:             1
  Preferred vector width int:             1
  Preferred vector width long:             1
  Preferred vector width float:             1
  Preferred vector width double:         0
ERROR: clGetDeviceInfo(-30)


I swear, my next CPU and GPU will be AMD and ATI, but please help with these :)