Reply to comment

в процессе написания программы с использованием комплексных чисел при помощи библиотеки
возникла проблема
при компиляции комплексной функции float complex a[idx]=cexpf( I + 1.0 );
в __global__ com(float complex *a) функции
возникает проблема
INve.cu(63): error: calling a host function from a __device__/__global__ function is only allowed in device emulation mode

подскажите пожалуйста, что можно сделать в этом случае?
использование библиотеки очень желательно

Reply

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <i> <table> <td> <tr> <th>
  • Lines and paragraphs break automatically.
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>. The supported tag styles are: <foo>, [foo].
  • Images can be added to this post.

More information about formatting options

Copyright © 2008-2011 Alex Tutubalin