Page 1 of 1

OpenCL error

PostPosted: Thu Aug 11, 2016 8:41 pm
by silvano_jr
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);
}

Re: OpenCL error

PostPosted: Fri Aug 12, 2016 8:49 pm
by jar
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

Re: OpenCL error

PostPosted: Mon Aug 15, 2016 1:27 pm
by silvano_jr
Thanks Dude. I will try to follow the example.