- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
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.
Lien copié
1 Répondre
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
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

Répondre
Options du sujet
- S'abonner au fil RSS
- Marquer le sujet comme nouveau
- Marquer le sujet comme lu
- Placer ce Sujet en tête de liste pour l'utilisateur actuel
- Marquer
- S'abonner
- Page imprimable