cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

m_wagner
Journeyman III

ERROR: No appropriate map technique found (out of 1 available)

I wrote this simple kernel to multiply and add vectors:

kernel void vecmad_kernel(float a<>, float b<>, float c<>, out float r<>
{
  r = a * b + c;
}

I allocate the memory in this way:

A = (float*)malloc(sizeof(float) * n);

a = <n>;

 

The compiler gives me no Errors but when I start the programm I get the following error when the kernel is called.

ERROR: No appropriate map technique found (out of 1 available)

I can't find any reason for this error.

0 Likes
1 Reply

m.wagner, check the makefile to make sure that the address translation flag is not there, should be '-r'. Remove this flag if it is there and try it.
0 Likes