- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Can anyone help me in how to use cilkview?
I was previously a cilk++ user. I am migrating myself into cilkplus.
Cilk++ code:
Please help.
Thanks.
Can anyone help me in how to use cilkview?
I was previously a cilk++ user. I am migrating myself into cilkplus.
Cilk++ code:
cilk::cilkview cv;
std::strncat(testname, "-PBFS", 5);
cv.start();
graph->pbfs(s, distances);
cv.stop();
runtime_ms = cv.accumulated_milliseconds();
cv.dump(testname);
Please help.
Thanks.
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Cilkview and Cilkscreen for Intel Cilk Plus are packaged as a separate download. You can get it (free) from http://software.intel.com/en-us/articles/intel-cilk-plus-software-development-kit/
Because Intel Cilk Plus supports both C and C++, we had to do away with the cilk::cilkview class. The equivalent functionality is available by including cilktools/cilkview.h. I believe that your example code would translate to:
#include: : cilkview_data_t start_data; std::strncat(testname, "-PBFS", 5); __cilkview_query(start_data); graph->pbfs(s, distances); __cilkview_do_report(&start_data, NULL, testname, CV_REPORT_WRITE_TO_LOG);
- Barry

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page