Home
last modified time | relevance | path

Searched refs:nsync (Results 1 – 25 of 28) sorted by relevance

12

/external/tensorflow/tensorflow/core/platform/default/
Dmutex.cc26 static_assert(sizeof(nsync::nsync_mu) <= sizeof(mutex::external_mu_space),
32 static inline nsync::nsync_mu *mu_cast(mutex::external_mu_space *mu) { in mu_cast()
33 return reinterpret_cast<nsync::nsync_mu *>(mu); in mu_cast()
36 mutex::mutex() { nsync::nsync_mu_init(mu_cast(&mu_)); } in mutex()
38 void mutex::lock() { nsync::nsync_mu_lock(mu_cast(&mu_)); } in lock()
40 bool mutex::try_lock() { return nsync::nsync_mu_trylock(mu_cast(&mu_)) != 0; }; in try_lock()
42 void mutex::unlock() { nsync::nsync_mu_unlock(mu_cast(&mu_)); } in unlock()
44 void mutex::lock_shared() { nsync::nsync_mu_rlock(mu_cast(&mu_)); } in lock_shared()
47 return nsync::nsync_mu_rtrylock(mu_cast(&mu_)) != 0; in try_lock_shared()
50 void mutex::unlock_shared() { nsync::nsync_mu_runlock(mu_cast(&mu_)); } in unlock_shared()
[all …]
Dbuild_config.bzl643 ["@nsync//:nsync_cpp"],
644 ["@nsync//:nsync_headers"],
757 return ["@nsync//:nsync_cpp"] + if_cuda(
/external/tensorflow/tensorflow/contrib/cmake/external/
Dnsync.cmake17 set(nsync_INCLUDE_DIR ${CMAKE_CURRENT_BINARY_DIR}/external/nsync/public)
18 set(nsync_URL https://github.com/google/nsync)
20 set(nsync_BUILD ${CMAKE_CURRENT_BINARY_DIR}/nsync/src/nsync)
21 set(nsync_INSTALL ${CMAKE_CURRENT_BINARY_DIR}/nsync/install)
31 ExternalProject_Add(nsync
32 PREFIX nsync
47 "${nsync_INSTALL}/include/nsync.h"
62 # put nsync includes in the directory where they are expected
65 DEPENDS nsync)
/external/libaom/libaom/av1/common/
Dthread_common.c156 const int nsync = lf_sync->sync_range; in sync_read() local
158 if (r && !(c & (nsync - 1))) { in sync_read()
162 while (c > lf_sync->cur_sb_col[plane][r - 1] - nsync) { in sync_read()
178 const int nsync = lf_sync->sync_range; in sync_write() local
185 if (c % nsync) sig = 0; in sync_write()
187 cur = sb_cols + nsync; in sync_write()
527 const int nsync = loop_res_sync->sync_range; in lr_sync_read() local
529 if (r && !(c & (nsync - 1))) { in lr_sync_read()
533 while (c > loop_res_sync->cur_sb_col[plane][r - 1] - nsync) { in lr_sync_read()
550 const int nsync = loop_res_sync->sync_range; in lr_sync_write() local
[all …]
/external/tensorflow/tensorflow/lite/examples/ios/camera/tflite_camera_example_with_select_tf_ops.xcodeproj/
Dproject.pbxproj20 …ACD35BF2217A9A4E00BBC881 /* nsync.a in Frameworks */ = {isa = PBXBuildFile; fileRef = ACD35BF1217A…
42 …E00BBC881 /* nsync.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = nsync.a;…
53 ACD35BF2217A9A4E00BBC881 /* nsync.a in Frameworks */,
68 ACD35BF1217A9A4E00BBC881 /* nsync.a */,
/external/libvpx/libvpx/vp9/common/
Dvp9_thread_common.c40 const int nsync = lf_sync->sync_range; in sync_read() local
42 if (r && !(c & (nsync - 1))) { in sync_read()
46 while (c > lf_sync->cur_sb_col[r - 1] - nsync) { in sync_read()
61 const int nsync = lf_sync->sync_range; in sync_write() local
68 if (c % nsync) sig = 0; in sync_write()
70 cur = sb_cols + nsync; in sync_write()
/external/libvpx/libvpx/vp9/encoder/
Dvp9_ethread.c327 const int nsync = row_mt_sync->sync_range; in vp9_row_mt_sync_read() local
329 if (r && !(c & (nsync - 1))) { in vp9_row_mt_sync_read()
333 while (c > row_mt_sync->cur_col[r - 1] - nsync + 1) { in vp9_row_mt_sync_read()
355 const int nsync = row_mt_sync->sync_range; in vp9_row_mt_sync_write() local
362 if (c % nsync != nsync - 1) sig = 0; in vp9_row_mt_sync_write()
364 cur = cols + nsync; in vp9_row_mt_sync_write()
/external/tensorflow/tensorflow/contrib/makefile/
Dcompile_nsync.sh84 nsync_builds_dir=tensorflow/contrib/makefile/downloads/nsync/builds
294 if (cd "$nsync_platform_dir" && make depend nsync.a >&2); then
DMakefile90 -I$(MAKEFILE_DIR)/downloads/nsync/public \
198 -I$(MAKEFILE_DIR)/downloads/nsync/public \
364 -I$(MAKEFILE_DIR)/downloads/nsync/public \
DREADME.md319 Then, you will need to compile the nsync library for iOS (optionally takes -a $ARCH flag):
353 In case you run into issues with unresolved symbols with nsync you can also pass
357 …makefile/downloads/nsync/builds/default.macos.c++11/nsync.a -n tensorflow/contrib/makefile/downloa…
/external/libvpx/libvpx/vp8/common/
Dthreading.h199 const int nsync) { in vp8_atomic_spin_wait() argument
200 while (mb_col > (vpx_atomic_load_acquire(last_row_current_mb_col) - nsync)) { in vp8_atomic_spin_wait()
/external/libvpx/libvpx/vp8/decoder/
Dthreading.c255 const int nsync = pbi->sync_range; in mt_decode_mb_rows() local
257 VPX_ATOMIC_INIT(pc->mb_cols + nsync); in mt_decode_mb_rows()
360 if (((mb_col - 1) % nsync) == 0) { in mt_decode_mb_rows()
364 if (mb_row && !(mb_col & (nsync - 1))) { in mt_decode_mb_rows()
365 vp8_atomic_spin_wait(mb_col, last_row_current_mb_col, nsync); in mt_decode_mb_rows()
412 vpx_atomic_store_release(current_mb_col, pc->mb_cols + nsync); in mt_decode_mb_rows()
567 vpx_atomic_store_release(current_mb_col, mb_col + nsync); in mt_decode_mb_rows()
/external/libvpx/libvpx/vp8/encoder/
Dethreading.c54 const int nsync = cpi->mt_sync_range; in thread_encoding_proc() local
110 if (((mb_col - 1) % nsync) == 0) { in thread_encoding_proc()
114 if (mb_row && !(mb_col & (nsync - 1))) { in thread_encoding_proc()
115 vp8_atomic_spin_wait(mb_col, last_row_current_mb_col, nsync); in thread_encoding_proc()
287 vpx_atomic_store_release(current_mb_col, mb_col + nsync); in thread_encoding_proc()
Dencodeframe.c343 const int nsync = cpi->mt_sync_range; in encode_mb_row() local
344 vpx_atomic_int rightmost_col = VPX_ATOMIC_INIT(cm->mb_cols + nsync); in encode_mb_row()
419 if (((mb_col - 1) % nsync) == 0) { in encode_mb_row()
423 if (mb_row && !(mb_col & (nsync - 1))) { in encode_mb_row()
424 vp8_atomic_spin_wait(mb_col, last_row_current_mb_col, nsync); in encode_mb_row()
/external/libaom/libaom/av1/encoder/
Dethread.c88 const int nsync = row_mt_sync->sync_range; in av1_row_mt_sync_read() local
94 while (c > row_mt_sync->cur_col[r - 1] - nsync) { in av1_row_mt_sync_read()
109 const int nsync = row_mt_sync->sync_range; in av1_row_mt_sync_write() local
116 if (c % nsync) sig = 0; in av1_row_mt_sync_write()
118 cur = cols + nsync; in av1_row_mt_sync_write()
/external/tensorflow/tensorflow/tools/lib_package/
DBUILD146 "@nsync//:LICENSE",
217 "@nsync//:LICENSE",
/external/tensorflow/tensorflow/examples/ios/
DREADME.md123 and `nsync.a` from `tensorflow/contrib/makefile/downloads/nsync/builds/lipo.ios.c++11`
128 - `tensorflow/contrib/makefile/downloads/nsync/public`
/external/tensorflow/tensorflow/
Dworkspace.bzl415 name = "nsync",
417 strip_prefix = "nsync-1.20.2",
418 system_build_file = clean_dep("//third_party/systemlibs:nsync.BUILD"),
420 "https://mirror.bazel.build/github.com/google/nsync/archive/1.20.2.tar.gz",
421 "https://github.com/google/nsync/archive/1.20.2.tar.gz",
Dopensource_only.files135 tensorflow/third_party/systemlibs/nsync.BUILD
/external/tensorflow/tensorflow/tools/def_file_filter/
Ddef_file_filter.py.tpl67 r"nsync::|"
/external/tensorflow/tensorflow/contrib/cmake/
Dtf_shared_lib.cmake145 … "${CMAKE_CURRENT_BINARY_DIR}/nsync/install/include" # Please if there is a better directory
/external/tensorflow/tensorflow/tools/pip_package/
DBUILD175 "@nsync//:LICENSE",
/external/tensorflow/tensorflow/lite/g3doc/guide/
Dops_select.md162 * `nsync.a`
/external/libaom/libaom/av1/decoder/
Ddecodeframe.c2969 const int nsync = dec_row_mt_sync->sync_range; in sync_read() local
2971 if (r && !(c & (nsync - 1))) { in sync_read()
2975 while (c > dec_row_mt_sync->cur_sb_col[r - 1] - nsync) { in sync_read()
2990 const int nsync = dec_row_mt_sync->sync_range; in sync_write() local
2996 if (c % nsync) sig = 0; in sync_write()
2998 cur = sb_cols + nsync; in sync_write()
/external/tensorflow/tensorflow/core/
DBUILD1093 "@nsync//:nsync_cpp",
1810 "@nsync//:nsync_cpp",
1834 "@nsync//:nsync_cpp",
1866 "@nsync//:nsync_cpp",
1908 "@nsync//:nsync_cpp",

12