Home
last modified time | relevance | path

Searched refs:isHost (Results 1 – 10 of 10) sorted by relevance

/external/llvm-project/openmp/libomptarget/test/mapping/
Ddelete_inf_refcount.c11 int isHost; variable
15 isHost = -1; in main()
17 #pragma omp target enter data map(to: isHost) in main()
20 { isHost = omp_is_initial_device(); } in main()
21 #pragma omp target update from(isHost) in main()
23 if (isHost < 0) { in main()
24 printf("Runtime error, isHost=%d\n", isHost); in main()
27 #pragma omp target exit data map(delete: isHost) in main()
30 printf("Target region executed on the %s\n", isHost ? "host" : "device"); in main()
32 return isHost; in main()
/external/llvm-project/openmp/libomptarget/deviceRTLs/nvptx/test/parallel/
Dspmd_parallel_regions.cpp7 int isHost = -1; in main() local
12 … : isHost, ParallelLevel1, ParallelLevel2), reduction(+: Count) schedule(static, 1) in main()
16 isHost = (isHost < 0 || isHost == 0) ? omp_is_initial_device() : isHost; in main()
36 if (isHost < 0) { in main()
37 printf("Runtime error, isHost=%d\n", isHost); in main()
41 printf("Target region executed on the %s\n", isHost ? "host" : "device"); in main()
50 return isHost; in main()
/external/llvm-project/openmp/libomptarget/test/offloading/
Doffloading_success.c11 int isHost = -1; in main() local
13 #pragma omp target map(from: isHost) in main()
14 { isHost = omp_is_initial_device(); } in main()
16 if (isHost < 0) { in main()
17 printf("Runtime error, isHost=%d\n", isHost); in main()
21 printf("Target region executed on the %s\n", isHost ? "host" : "device"); in main()
23 return isHost; in main()
Doffloading_success.cpp11 int isHost = 0; in main() local
13 #pragma omp target map(from: isHost) in main()
14 { isHost = omp_is_initial_device(); } in main()
16 if (isHost < 0) { in main()
17 printf("Runtime error, isHost=%d\n", isHost); in main()
21 printf("Target region executed on the %s\n", isHost ? "host" : "device"); in main()
23 return isHost; in main()
/external/llvm-project/clang/test/OpenMP/
Ddeferred-diags.cpp23 void barB(int *isHost) { in barB() argument
24 #pragma omp target map(tofrom: isHost) in barB()
26 *isHost = foo(); in barB()
33 void barA(int *isHost) { in barA() argument
34 #pragma omp target map(tofrom: isHost) in barA()
36 barB(isHost); in barA()
/external/chromium-trace/catapult/third_party/polymer/components/shadycss/src/
Dstyle-properties.js316 let isHost = parsedSelector.indexOf(':host') === 0 && !isRoot;
324 isHost = !isRoot && parsedSelector.indexOf(hostScope) === 0;
326 if (!isRoot && !isHost) {
330 if (isHost) {
346 isHost: isHost, property
364 if (info.isHost) {
/external/vogar/src/vogar/
DModeId.java96 return isHost() || this == ModeId.JVM; in isLocal()
100 public boolean isHost() { in isHost() method in ModeId
/external/vogar/src/vogar/android/
DAndroidSdk.java180 if (modeId.isHost()) { in createAndroidSdk()
190 if (modeId.isHost()) { in createAndroidSdk()
DHostRuntime.java49 if (!modeId.isHost() || !modeId.supportsVariant(variant)) { in HostRuntime()
/external/chromium-trace/catapult/third_party/polymer/components/shadycss/
Dscoping-shim.min.js.map1isHost","hostAndRootPropertiesForScope","hostProps","rootProps","_element","transformStyles","host…