[Openmp-commits] [PATCH] D42162: [OMPT] Update api_calls testcase

Simon Convent via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Wed Feb 14 04:45:48 PST 2018


sconvent added inline comments.


================
Comment at: runtime/test/ompt/misc/api_calls.c:2
 // RUN: %libomp-compile && env OMP_PLACES=cores %libomp-run | FileCheck %s
 // REQUIRES: ompt, linux
 #include "callback.h"
----------------
omalyshe wrote:
> Is it limited to Linux due to sched_getcpu() usage? On Windows you could use GetCurrentProcessorNumberEx().
Yes, that is the reason. We're currently not testing under Windows but I will look into it.


https://reviews.llvm.org/D42162





More information about the Openmp-commits mailing list