cilk++ compiling problem

cilk++ compiling problem

Аватар пользователя miniyou18

HI, I was trying to run cilk++ code in cluster with intel-12.0 compiler. However, everytime when I was using the command 'icpc -o test test.cpp', there was a error called: name followed by "::" must be a class or namespace name I used cilk::run() function in my code. And not only this function cannot work well, but also all other cilk functions just get the same problem. I hope you guys can help me with this problem. Best, Lingchen

3 posts / 0 новое
Последнее сообщение
Пожалуйста, обратитесь к странице Уведомление об оптимизации для более подробной информации относительно производительности и оптимизации в программных продуктах компании Intel.
Аватар пользователя Barry Tannenbaum (Intel)

The V12.0 Intel C/C++ compiler was the first release of Intel Cilk Plus.

As you've noted, there are incompatible changes in the implementation of Cilk between Intel Cilk Plus and Cilk++. These are detailed in the article Converting a Cilk Arts Cilk++ application to Intel Cilk Plus. One of the key ones is that the cilk::context class has been removed, since functions using the Cilk keyworkds now use standard C/C++ linkage.

- Barry

Аватар пользователя miniyou18

Thanks, Barry.

Зарегистрируйтесь, чтобы оставить комментарий.