OpenCL error

Moderator: dar

OpenCL error

Postby silvano_jr » Thu Aug 11, 2016 8:41 pm

Hy guys. First, I am sorry by the bad english.
I tried create a code using "pure" OpenCL and use the code in parallell but, I receive this message:

[13420] clmesg WARNING: ocl_context.c(68): clCreateContext: no platformid, using default
[13420] clmesg info: cmdsched.c(86): cmdqx1: run
[13420] clmesg ERROR: elfcl_arm32.c(451): write_elf_cl: elf_update() failed: I/O error: seek
.

Here the page of the code where I'm create de context.

locl_CONTEXT = clCreateContext(NULL, locl_NUM_DEVICES, locl_DEVICES, NULL, NULL, &status);
if (status != CL_SUCCESS) {
printf ("Unable create a context\n");
exit(1);
}
silvano_jr
 
Posts: 2
Joined: Wed Jan 27, 2016 6:03 pm

Re: OpenCL error

Postby jar » Fri Aug 12, 2016 8:49 pm

Without seeing the rest of your code, it's hard to say. Try using the OpenCL example:
https://github.com/browndeer/coprthr/bl ... o_opencl.c
User avatar
jar
 
Posts: 295
Joined: Mon Dec 17, 2012 3:27 am

Re: OpenCL error

Postby silvano_jr » Mon Aug 15, 2016 1:27 pm

Thanks Dude. I will try to follow the example.
silvano_jr
 
Posts: 2
Joined: Wed Jan 27, 2016 6:03 pm


Return to OpenCL

Who is online

Users browsing this forum: No registered users and 2 guests

cron