Searched refs:ScopedRef (Results 1 – 9 of 9) sorted by relevance
/external/tensorflow/tensorflow/compiler/xrt/ |
D | xrt_tpu_device.h | 34 class ScopedRef { 36 ScopedRef() {} in ScopedRef() function 37 ~ScopedRef() {} in ~ScopedRef() 39 ScopedRef(const ScopedRef&) = delete; 40 ScopedRef& operator=(const ScopedRef&) = delete; 61 ScopedRef* scoped_ref); 63 static Status InitScopedRef(OpKernelContext* ctx, ScopedRef* scoped_ref);
|
D | xrt_device.h | 41 class ScopedRef { 43 ScopedRef() {} in ScopedRef() function 44 ~ScopedRef() {} in ~ScopedRef() 46 ScopedRef(const ScopedRef&) = delete; 47 ScopedRef& operator=(const ScopedRef&) = delete; 69 ScopedRef* scoped_ref); 71 static Status InitScopedRef(OpKernelContext* ctx, ScopedRef* scoped_ref);
|
D | xrt_tpu_device.cc | 37 Status XRTTpuDeviceAccessor::ScopedRef::Acquire(int device_ordinal) { in Acquire() 44 Status XRTTpuDeviceAccessor::ScopedRef::Acquire(OpKernelContext* ctx) { in Acquire() 52 ScopedRef* scoped_ref) { in InitScopedRef() 57 ScopedRef* scoped_ref) { in InitScopedRef()
|
D | xrt_device.cc | 71 OpKernelContext* ctx, int device_ordinal, ScopedRef* scoped_ref) { in InitScopedRef() 84 OpKernelContext* ctx, ScopedRef* scoped_ref) { in InitScopedRef()
|
/external/libtextclassifier/native/utils/java/ |
D | jni-base.h | 130 class ScopedRef { 132 ScopedRef() : ptr_(nullptr, Deleter(nullptr)) {} in ScopedRef() function 133 ScopedRef(T value, Env* env) : ptr_(value, Deleter(env)) {} in ScopedRef() function 155 inline bool operator==(const ScopedRef<T, Env, Deleter>& x, 156 const ScopedRef<U, Env, Deleter>& y) { 161 inline bool operator==(const ScopedRef<T, Env, Deleter>& x, std::nullptr_t) { 166 inline bool operator==(std::nullptr_t, const ScopedRef<T, Env, Deleter>& x) { 171 inline bool operator!=(const ScopedRef<T, Env, Deleter>& x, 172 const ScopedRef<U, Env, Deleter>& y) { 177 inline bool operator!=(const ScopedRef<T, Env, Deleter>& x, std::nullptr_t) { [all …]
|
/external/icing/icing/text_classifier/lib3/utils/java/ |
D | jni-base.h | 128 class ScopedRef { 130 ScopedRef() : ptr_(nullptr, Deleter(nullptr)) {} in ScopedRef() function 131 ScopedRef(T value, Env* env) : ptr_(value, Deleter(env)) {} in ScopedRef() function 153 inline bool operator==(const ScopedRef<T, Env, Deleter>& x, 154 const ScopedRef<U, Env, Deleter>& y) { 159 inline bool operator==(const ScopedRef<T, Env, Deleter>& x, std::nullptr_t) { 164 inline bool operator==(std::nullptr_t, const ScopedRef<T, Env, Deleter>& x) { 169 inline bool operator!=(const ScopedRef<T, Env, Deleter>& x, 170 const ScopedRef<U, Env, Deleter>& y) { 175 inline bool operator!=(const ScopedRef<T, Env, Deleter>& x, std::nullptr_t) { [all …]
|
/external/tensorflow/tensorflow/compiler/xrt/kernels/ |
D | xrt_state_ops.h | 197 class DeviceAccessor::ScopedRef device_ref; in Compute() 237 class DeviceAccessor::ScopedRef device_ref; in Compute() 341 class DeviceAccessor::ScopedRef device_ref; in Compute() 459 class DeviceAccessor::ScopedRef device_ref; in Compute() 517 class DeviceAccessor::ScopedRef device_ref; in Compute() 570 class DeviceAccessor::ScopedRef device_ref; in Compute() 658 typename DeviceAccessor::ScopedRef device_ref; in Compute() 735 class DeviceAccessor::ScopedRef device_ref; in Compute() 754 class DeviceAccessor::ScopedRef device_ref; in Compute()
|
D | xrt_execute_op.cc | 297 OpKernelContext* context, XRTGenericDeviceAccessor::ScopedRef* device_ref, in RunExecutable() 376 XRTGenericDeviceAccessor::ScopedRef* device_ref, in ExecuteComputation() 396 XRTGenericDeviceAccessor::ScopedRef* device_ref, in ExecuteComputation() 462 class XRTGenericDeviceAccessor::ScopedRef device_ref; in DoWork() 545 class XRTGenericDeviceAccessor::ScopedRef device_ref; in DoWork()
|
D | xrt_compile_ops.cc | 136 class XRTGenericDeviceAccessor::ScopedRef device_ref; in Compile()
|