/external/tensorflow/tensorflow/core/platform/default/ |
D | mutex.cc | 29 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 …]
|
D | build_config.bzl | 653 [clean_dep("@nsync//:nsync_cpp")], 654 [clean_dep("@nsync//:nsync_headers")], 712 return [clean_dep("@nsync//:nsync_cpp")] + if_cuda( 789 "@nsync//:nsync_cpp",
|
D | BUILD | 239 "@nsync//:nsync_cpp",
|
/external/libaom/libaom/av1/common/ |
D | thread_common.c | 156 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/libvpx/libvpx/vp9/encoder/ |
D | vp9_ethread.c | 327 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/ |
D | threading.h | 199 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/ |
D | vp9_thread_common.c | 40 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/ |
D | threading.c | 255 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/ |
D | ethreading.c | 54 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()
|
D | encodeframe.c | 343 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/ |
D | ethread.c | 103 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/ |
D | BUILD | 162 "@nsync//:LICENSE", 242 "@nsync//:LICENSE",
|
/external/tensorflow/third_party/systemlibs/ |
D | syslibs_configure.bzl | 35 "nsync",
|
/external/tensorflow/tensorflow/python/tools/ |
D | tools.bzl | 101 multithreading libraries like nsync.
|
/external/tensorflow/tensorflow/ |
D | workspace.bzl | 599 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",
|
D | opensource_only.files | 201 tensorflow/third_party/systemlibs/nsync.BUILD
|
D | tensorflow.bzl | 1781 "@nsync//:nsync_cpp",
|
/external/tensorflow/tensorflow/tools/pip_package/ |
D | BUILD | 215 "@nsync//:LICENSE",
|
/external/tensorflow/tensorflow/tools/def_file_filter/ |
D | def_file_filter.py.tpl | 70 r"nsync::|"
|
/external/libaom/libaom/av1/decoder/ |
D | decodeframe.c | 2584 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/ |
D | BUILD | 531 # if_mobile(["@nsync//:nsync_cpp"]) + 533 # ["@nsync//:nsync_cpp"] +
|
/external/tensorflow/ |
D | RELEASE.md | 3194 * 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.
|