ERROR :clBuildProgram (-11)

ERROR :clBuildProgram (-11)

Hi. I'm sorry x the previous post, but I had no connection problems. This information, however, appear and I can not understand OpenCL if the programs are executed perfectly.

It happens regardless of the code that runs in kernel.
There 's something that interferes between the SDK: Intel and AMD.

My system has 4 GPU -----> 2xHD5970 + Intel (R) Core (TM) 2 Extreme CPU
X9650@3.00GHz

Good evening to all. In my system using ATI Stream (ver.2.4) and intelsdk OpenCL.
Clinfo Running from the command prompt I get:

Vendor: Advanced Micro Devices, Inc.
Driver version: CAL 04/01/1353
Profile: FULL_PROFILE
Version: 1.1 OpenCL AMD-APP-SDK v2.4-pre-
tc1 (595.1)
Extensions: cl_amd_fp64 cl_khr_global_int32
_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomi
cs cl_khr_local_int32_extended_atomics cl_khr_3d_image_writes cl_khr_byte_addres
sable_store cl_khr_gl_sharing cl_amd_device_attribute_query cl_amd_printf cl_amd
_media_ops cl_amd_popcnt cl_khr_d3d10_sharing

Device Type: CL_DEVICE_TYPE_GPU
Device ID: 4098
Max compute units: 20
Max dimensions work items: 3
Max work items [0]: 256
Max work items [1]: 256
Max work items [2]: 256
Max work group size: 256
Preferred vector char width: 16
Preferred short vector width: 8
Preferred vector int width: 4
Preferred long vector width: 2
Preferred vector float width: 4
Preferred vector double width: 0
Native char vector width: 16
Native vector short width: 8
Native vector int width: 4
Native long vector width: 2
Native vector float width: 4
Native vector double width: 0
Max clock frequency: 725Mhz
Address bits: 32
Max memory allocation: 268435456
Image support: Yes
Max number of images read arguments: 128
Max number of images write arguments: 8
Max 2D image width: 8192
Max 2D image height: 8192
3D Max image width: 2048
3D Max image height: 2048
Max 3D image depth: 2048
Within kernel samplers Max: 16
Max size of kernel argument: 1024
Alignment (bits) of base address: 32768
Minimum alignment (bytes) FOR ANY datatype: 128
Single precision floating point capability
Denorms: No
Quiet NaNs: Yes
Round to nearest even: Yes
Round to zero: Yes
Round to + ve and infinity: Yes
IEEE754-2008 fused multiply-add: Yes
Cache type: None
Cache line size: 0
Cache size: 0
Global memory size: 1073741824
Constant buffer size: 65536
Max number of args constant: 8
Local memory type: Scratchpad
Local memory size: 32768
Preferred multiple kernel work group size: 64
Error correction support: 0
Unified memory for Host and Device: 0
Profiling timer resolution: 1
Device endianess: Little
Available: Yes
Compiler available: Yes
Execution capabilities:
Execute OpenCL kernels: Yes
Execute native function: No
Queue properties:
Out-of-Order: No
Profiling: Yes
Platform ID: 00000000015C1118
Name: Cypress
Vendor: Advanced Micro Devices, Inc.
Driver version: CAL 04/01/1353
Profile: FULL_PROFILE
Version: 1.1 OpenCL AMD-APP-SDK v2.4-pre-
tc1 (595.1)
Extensions: cl_amd_fp64 cl_khr_global_int32
_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomi
cs cl_khr_local_int32_extended_atomics cl_khr_3d_image_writes cl_khr_byte_addres
sable_store cl_khr_gl_sharing cl_amd_device_attribute_query cl_amd_printf cl_amd
_media_ops cl_amd_popcnt cl_khr_d3d10_sharing

Device Type: CL_DEVICE_TYPE_GPU
Device ID: 4098
Max compute units: 20
Max dimensions work items: 3
Max work items [0]: 256
Max work items [1]: 256
Max work items [2]: 256
Max work group size: 256
Preferred vector char width: 16
Preferred short vector width: 8
Preferred vector int width: 4
Preferred long vector width: 2
Preferred vector float width: 4
Preferred vector double width: 0
Native char vector width: 16
Native vector short width: 8
Native vector int width: 4
Native long vector width: 2
Native vector float width: 4
Native vector double width: 0
Max clock frequency: 725Mhz
Address bits: 32
Max memory allocation: 268435456
Image support: Yes
Max number of images read arguments: 128
Max number of images write arguments: 8
Max 2D image width: 8192
Max 2D image height: 8192
3D Max image width: 2048
3D Max image height: 2048
Max 3D image depth: 2048
Within kernel samplers Max: 16
Max size of kernel argument: 1024
Alignment (bits) of base address: 32768
Minimum alignment (bytes) FOR ANY datatype: 128
Single precision floating point capability
Denorms: No
Quiet NaNs: Yes
Round to nearest even: Yes
Round to zero: Yes
Round to + ve and infinity: Yes
IEEE754-2008 fused multiply-add: Yes
Cache type: None
Cache line size: 0
Cache size: 0
Global memory size: 1073741824
Constant buffer size: 65536
Max number of args constant: 8
Local memory type: Scratchpad
Local memory size: 32768
Preferred multiple kernel work group size: 64
Error correction support: 0
Unified memory for Host and Device: 0
Profiling timer resolution: 1
Device endianess: Little
Available: Yes
Compiler available: Yes
Execution capabilities:
Execute OpenCL kernels: Yes
Execute native function: No
Queue properties:
Out-of-Order: No
Profiling: Yes
Platform ID: 00000000015C1118
Name: Cypress
Vendor: Advanced Micro Devices, Inc.
Driver version: CAL 04/01/1353
Profile: FULL_PROFILE
Version: 1.1 OpenCL AMD-APP-SDK v2.4-pre-
tc1 (595.1)
Extensions: cl_amd_fp64 cl_khr_global_int32
_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomi
cs cl_khr_local_int32_extended_atomics cl_khr_3d_image_writes cl_khr_byte_addres
sable_store cl_khr_gl_sharing cl_amd_device_attribute_query cl_amd_printf cl_amd
_media_ops cl_amd_popcnt cl_khr_d3d10_sharing

Device Type: CL_DEVICE_TYPE_CPU
Device ID: 4098
Max compute units: 4
Max dimensions work items: 3
Max work items [0]: 1024
Max work items [1]: 1024
Max work items [2]: 1024
Max work size group: 1024
Preferred vector char width: 16
Preferred short vector width: 8
Preferred vector int width: 4
Preferred long vector width: 2
Preferred vector float width: 4
Preferred vector double width: 0
Native char vector width: 16
Native vector short width: 8
Native vector int width: 4
Native long vector width: 2
Native vector float width: 4
Native vector double width: 0
Max clock frequency: 3166Mhz
Address bits: 64
Max memory allocation: 2147483648
Image support: Yes
Max number of images read arguments: 128
Max number of images write arguments: 8
Max 2D image width: 8192
Max 2D image height: 8192
3D Max image width: 2048
3D Max image height: 2048
Max 3D image depth: 2048
Within kernel samplers Max: 16
Max size of kernel argument: 4096
Alignment (bits) base address of: 1024
Minimum alignment (bytes) FOR ANY datatype: 128
Single precision floating point capability
Denorms: Yes
Quiet NaNs: Yes
Round to nearest even: Yes
Round to zero: Yes
Round to + ve and infinity: Yes
IEEE754-2008 fused multiply-add: No
Cache type: Read / Write
Cache line size: 64
Cache size: 32768
Global memory size: 8589017088
Constant buffer size: 65536
Max number of args constant: 8
Local memory type: Global
Local memory size: 32768
Preferred multiple kernel work group size: 1
Error correction support: 0
Unified memory for Host and Device: 1
Profiling timer resolution: 323
Device endianess: Little
Available: Yes
Compiler available: Yes
Execution capabilities:
Execute OpenCL kernels: Yes
Execute native function: Yes
Queue properties:
Out-of-Order: No
Profiling: Yes
Platform ID: 00000000015C1118
Name: Intel Core 2 Extreme CPU
X9650@3.00GHz
Vendor: GenuineIntel
Driver version: 2.0
Profile: FULL_PROFILE
Version: 1.1 OpenCL AMD-APP-SDK v2.4-pre-
tc1 (595.1)
Extensions: cl_amd_fp64 cl_khr_global_int32
_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomi
cs cl_khr_local_int32_extended_atomics cl_khr_int64_base_atomics cl_khr_int64_ex
tended_atomics cl_khr_byte_addressable_store cl_khr_gl_sharing cl_ext_device_fis
sion cl_amd_device_attribute_query cl_amd_vec3 cl_amd_media_ops cl_amd_popcnt cl
_amd_printf cl_khr_d3d10_sharing

Platform Name: Intel OpenCL
Number of devices: 1
Device Type: CL_DEVICE_TYPE_CPU
Device ID: 32902
Max compute units: 4
Max dimensions work items: 3
Max work items [0]: 1024
Max work items [1]: 1024
Max work items [2]: 1024
Max work size group: 1024
Preferred vector char width: 16
Preferred short vector width: 8
Preferred vector int width: 4
Preferred long vector width: 2
Preferred vector float width: 4
Preferred vector double width: 2
Native char vector width: 16
Native vector short width: 8
Native vector int width: 4
Native long vector width: 2
Native vector float width: 4
Native vector double width: 2
Max clock frequency: 3166Mhz
Address bits: 4294967360
Max memory allocation: 2147254272
Image support: Yes
Max number of images read arguments: 128
Max number of images write arguments: 128
Max 2D image width: 8192
Max 2D image height: 8192
3D Max image width: 2048
3D Max image height: 2048
Max 3D image depth: 2048
Within kernel samplers Max: 128
Max size of kernel argument: 1024
Alignment (bits) base address of: 1024
Minimum alignment (bytes) FOR ANY datatype: 128
Single precision floating point capability
Denorms: Yes
Quiet NaNs: Yes
Round to nearest even: Yes
Round to zero: No
Round to + ve and infinity: No
IEEE754-2008 fused multiply-add: No
Cache type: Read / Write
Cache line size: 64
Cache size: 6291456
Global memory size: 8589017088
Constant buffer size: 131072
Max number of args constant: 128
Local memory type: Global
Local memory size: 32768
ERROR: clBuildProgram (-11)

4 Beiträge / 0 neu
Letzter Beitrag
Nähere Informationen zur Compiler-Optimierung finden Sie in unserem Optimierungshinweis.

Sure and 'bad ol set my OpenCL ICD. I apologize again, I ask help to you, this' my OpenCL icd:
cl_platform_id platforms * = Accelerated Parallel Processing AMD, Intel OpenCL;
vendor_name char [128] = {AMD (1002-2542), Intel (8086)};
cl_uint num_platforms = 2;
/ / get number of available platforms
cl_int clGetPlatformIDs err = (2, AMD Accelerated Parallel Processing, OpenCL Intel, AMD & {(1002-2542), Intel (8086)});
if (CL_SUCCESS! = err)
{
/ / handle error
}
platforms = (Parallel Processing Accelerated AMD, Intel OpenCL) malloc (
sizeof (cl_platform) {* AMD (1002-2542), Intel (8086)});
if (NULL == platforms)
{
/ / handle error
}
err = clGetPlatformIDs (5, GPU, CPU, Cypress, GenuineIntel);
if (CL_SUCCESS! = err)
{
/ / handle error
}
for (ui = 2 cl_uint; ui <5; + + ui)
{
err = clGetPlatformInfo (Advanced Micro Devices, Inc., GenuineIntel [ui]
AMD (1002-2542), Intel (8086),
128 * sizeof (char)
Intel (R) Core (TM) 2 Extreme CPU X9650@3.00GHz,
NULL);
if (CL_SUCCESS! = err)
{
/ / handle error
}
if (vendor_name! = Intel (R) Core (TM) 2 Extreme CPU X9650@3.00GHz)
{
if (strcmp (vendor_name, "Intel Corporation"))
{
return platforms [ui];
}
}
}
/ / handle error

I certainly misunderstood and poorly drawn OpenCL ICD.

Hi,
I've asked our engineering team to analyze your problem and we will return to you soon.

Thanks, Arnon

Kommentar hinterlassen

Bitte anmelden, um einen Kommentar hinzuzufügen. Sie sind noch nicht Mitglied? Jetzt teilnehmen