Hello,
i started using OpenCL and i was wondering about a thing.
But first my configuration:
Graphics Card
CPU
As you can see, OpenCL should find 2 Platforms (AMD APP, Intel) and it does.
If i use Intel-Platform in OpenCL, there is one device (CPU). Kernels execeutes without any errors on the CPU.
If i use APP AMD Platform in OpenCL, two devices are found (GPU, CPU). Kernels executes on GPU-Device without any errors. But if i use CPU-Device (Intel i7), the following message comes at each Kernel:
C:\Users\??????\AppData\Local\Temp\OCL121D.tmp.cl(29): warning: null (zero)
character in input line ignored
^
Internal Error: as failed
Is there a way to disable CPU for AMD APP platform? I also appriciate all other ideas.
Thank you so far.
Originally posted by: kopfrechner Hello,
i started using OpenCL and i was wondering about a thing.
But first my configuration:
Graphics Card
CPU
- Radeon HD 6870
- CCC 10.6
- AMD APP SDK 2.4
As you can see, OpenCL should find 2 Platforms (AMD APP, Intel) and it does.
- Intel i7 2600
- Intel OpenCL SDK in Version 1.1.13785.5219
If i use Intel-Platform in OpenCL, there is one device (CPU). Kernels execeutes without any errors on the CPU.
If i use APP AMD Platform in OpenCL, two devices are found (GPU, CPU). Kernels executes on GPU-Device without any errors. But if i use CPU-Device (Intel i7), the following message comes at each Kernel:
C:\Users\??????\AppData\Local\Temp\OCL121D.tmp.cl(29): warning: null (zero) character in input line ignored ^ Internal Error: as failed
Is there a way to disable CPU for AMD APP platform? I also appriciate all other ideas.
Thank you so far.
Please update Your AMD SDK and driver.
You can skip any device programmatically.
Please can you paste your failing kernel here
even an empty kernel like the following one fails:
__kernel void test() { }
i'm currently updating my drivers
same "internal error: as failed" here:
CPU: Intel Core i5 2410M;
OpenCL SDK: AMD APP SDK 2.5
OS: Win7 64bits
Kernels tested: all the OpenCL CPU tests coming with GPU Caps Viewer (1.11 version)
Any idea?
Make sure that there isn't another instance of "as" in your path (such as from Cygwin). The OpenCL CPU device compiler needs the "as" provided by the APP SDK.
Jeff
sry, but what's "as"?
I (quick) fixed this same problem by copying the following files in the same directory as my own .exe:
c:\Program Files (x86)\AMD APP\bin\x86_64\as.exe
c:\Program Files (x86)\AMD APP\bin\x86_64\ld.exe
So I think it is some kind of path environmental variable problem...
(however, c:\Program Files (x86)\AMD APP\bin\x86_64 is added to the "path" variable of Win7?)
Originally posted by: andre.mussche I (quick) fixed this same problem by copying the following files in the same directory as my own .exe:
c:\Program Files (x86)\AMD APP\bin\x86_64\as.exe c:\Program Files (x86)\AMD APP\bin\x86_64\ld.exe
So I think it is some kind of path environmental variable problem... (however, c:\Program Files (x86)\AMD APP\bin\x86_64 is added to the "path" variable of Win7?)
You should not move as.exe and ld.exe from installed locations. Please remove/rename if any as.exe and ld.exe in your system otherthan installed ones.
I have a similar problem:
System:
Intel Q6600
MSI HD6950
Win 7 Home x64
I'm using APP SDK 2.5. Until monday I was using Catalyst 1.7 and could run my kernels on GPU and CPU without problems. Then I updated to 1.8 an all fallbacks to CPU are ending in a crash, even empty kernels. GPU runs fine. I downgraded to 1.7 but this didn't help. Then I reinstalled SDK and 1.7 but no changes. Then I tried an update to 1.8 again and today to 1.9, but all CPU Kernels are still crashing with a build-error.
Originally posted by: michael.burger I have a similar problem:
System:
Intel Q6600
MSI HD6950
Win 7 Home x64
I'm using APP SDK 2.5. Until monday I was using Catalyst 1.7 and could run my kernels on GPU and CPU without problems. Then I updated to 1.8 an all fallbacks to CPU are ending in a crash, even empty kernels. GPU runs fine. I downgraded to 1.7 but this didn't help. Then I reinstalled SDK and 1.7 but no changes. Then I tried an update to 1.8 again and today to 1.9, but all CPU Kernels are still crashing with a build-error.
We may not able to help you if your cpu is Intel CPU. Could you please try on AMD CPU's if you have one?
I don't have 100 PCs for my programming tasks... I have only this one. And like I said before the driverupdate everything was fine. That's why I think that it must be possible that the code excecutes on this Intel CPU.