Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/core/platform/default/
Dmutex.cc29 static_assert(sizeof(nsync::nsync_mu) <= sizeof(internal::MuData),
35 static inline nsync::nsync_mu *mu_cast(internal::MuData *mu) { in mu_cast()
36 return reinterpret_cast<nsync::nsync_mu *>(mu); in mu_cast()
39 mutex::mutex() { nsync::nsync_mu_init(mu_cast(&mu_)); } in mutex()
43 void mutex::lock() { nsync::nsync_mu_lock(mu_cast(&mu_)); } in lock()
45 bool mutex::try_lock() { return nsync::nsync_mu_trylock(mu_cast(&mu_)) != 0; }; in try_lock()
47 void mutex::unlock() { nsync::nsync_mu_unlock(mu_cast(&mu_)); } in unlock()
49 void mutex::lock_shared() { nsync::nsync_mu_rlock(mu_cast(&mu_)); } in lock_shared()
52 return nsync::nsync_mu_rtrylock(mu_cast(&mu_)) != 0; in try_lock_shared()
55 void mutex::unlock_shared() { nsync::nsync_mu_runlock(mu_cast(&mu_)); } in unlock_shared()
[all …]
Dbuild_config.bzl653 [clean_dep("@nsync//:nsync_cpp")],
654 [clean_dep("@nsync//:nsync_headers")],
712 return [clean_dep("@nsync//:nsync_cpp")] + if_cuda(
789 "@nsync//:nsync_cpp",
DBUILD239 "@nsync//:nsync_cpp",
/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()
534 const int nsync = loop_res_sync->sync_range; in lr_sync_read() local
536 if (r && !(c & (nsync - 1))) { in lr_sync_read()
540 while (c > loop_res_sync->cur_sb_col[plane][r - 1] - nsync) { in lr_sync_read()
557 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/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/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/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/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.c103 const int nsync = row_mt_sync->sync_range; in av1_row_mt_sync_read() local
109 while (c > row_mt_sync->cur_col[r - 1] - nsync) { in av1_row_mt_sync_read()
124 const int nsync = row_mt_sync->sync_range; in av1_row_mt_sync_write() local
131 if (c % nsync) sig = 0; in av1_row_mt_sync_write()
133 cur = cols + nsync; in av1_row_mt_sync_write()
/external/tensorflow/tensorflow/tools/lib_package/
DBUILD162 "@nsync//:LICENSE",
242 "@nsync//:LICENSE",
/external/tensorflow/third_party/systemlibs/
Dsyslibs_configure.bzl35 "nsync",
/external/tensorflow/tensorflow/python/tools/
Dtools.bzl101 multithreading libraries like nsync.
/external/tensorflow/tensorflow/
Dworkspace.bzl599 name = "nsync",
601 strip_prefix = "nsync-1.22.0",
602 system_build_file = clean_dep("//third_party/systemlibs:nsync.BUILD"),
604 …"https://storage.googleapis.com/mirror.tensorflow.org/github.com/google/nsync/archive/1.22.0.tar.g…
605 "https://github.com/google/nsync/archive/1.22.0.tar.gz",
Dopensource_only.files201 tensorflow/third_party/systemlibs/nsync.BUILD
Dtensorflow.bzl1781 "@nsync//:nsync_cpp",
/external/tensorflow/tensorflow/tools/pip_package/
DBUILD215 "@nsync//:LICENSE",
/external/tensorflow/tensorflow/tools/def_file_filter/
Ddef_file_filter.py.tpl70 r"nsync::|"
/external/libaom/libaom/av1/decoder/
Ddecodeframe.c2584 const int nsync = dec_row_mt_sync->sync_range; in sync_read() local
2586 if (r && !(c & (nsync - 1))) { in sync_read()
2590 while (c > dec_row_mt_sync->cur_sb_col[r - 1] - nsync) { in sync_read()
2605 const int nsync = dec_row_mt_sync->sync_range; in sync_write() local
2611 if (c % nsync) sig = 0; in sync_write()
2613 cur = sb_cols + nsync; in sync_write()
/external/tensorflow/tensorflow/core/
DBUILD531 # if_mobile(["@nsync//:nsync_cpp"]) +
533 # ["@nsync//:nsync_cpp"] +
/external/tensorflow/
DRELEASE.md3194 * Update nsync synchronization library to avoid slow primitives on Linux.
3195 * Removed need to put nsync/public on C include path when building custom ops.