Quantcast
Channel: Intel® Cilk™ Plus
Viewing all articles
Browse latest Browse all 77

cilkpub with icc 16.0.0

$
0
0

There's a minor compile-time problem with cilkpub when compiling with icc 16.0.0.  Here's the compile-time error:

$ icpc -DCILKPUB_DETRED_DBG_LEVEL=0  -Wall  -g -O3 -I../include_dev -I../include test_sort.cpp -o tmp/test_sort
In file included from test_sort.cpp(54):
cilktest_timing.h(77): error: argument of type "void *" is incompatible with parameter of type "const char *"
      __notify_zc_intrinsic((void*) "CILKTEST_GETTICKS_START", 0);
                            ^

In file included from test_sort.cpp(54):
cilktest_timing.h(97): error: argument of type "void *" is incompatible with parameter of type "const char *"
      __notify_zc_intrinsic((void*) "CILKTEST_GETTICKS_END", 0);
                            ^

, which is fixed by this diff:

[bradley@30-87-232 cilkpub_v105]$ diff ~/cilkplub/cilkpub_v105/test/cilktest_timing.h.~1~ ~/cilkplub/cilkpub_v105/test/cilktest_timing.h
77c77<     __notify_zc_intrinsic((void*) "CILKTEST_GETTICKS_START", 0);
--->     __notify_zc_intrinsic((char*) "CILKTEST_GETTICKS_START", 0);
97c97<     __notify_zc_intrinsic((void*) "CILKTEST_GETTICKS_END", 0);
--->     __notify_zc_intrinsic((char*) "CILKTEST_GETTICKS_END", 0);

 


Viewing all articles
Browse latest Browse all 77

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>