pytorch/caffe2/core
Richard Barnes c543b3b582 Fix a downcast (#47919)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/47919

Suppresses a downcast warning.

Test Plan:
Reproduces with
```
buck test mode/dev-nosan //caffe2/torch/fb/sparsenn:gpu_test
```

Reviewed By: suphoff

Differential Revision: D24866987

fbshipit-source-id: 44f19ab37a7d95abe08f570abfebc702827a2510
2020-11-13 22:26:29 -08:00
..
hip
nomnigraph Remove __future__ imports for legacy Python2 supports (#45033) 2020-09-23 17:57:02 -07:00
__init__.py remediation of S205607 2020-07-17 17:19:47 -07:00
allocator.cc
allocator.h
blob_gpu_test.cc
blob_serialization_gpu.cc
blob_serialization.cc [MemLeak] Fix memory leak from releasing unique ptr (#41883) 2020-07-22 16:54:19 -07:00
blob_serialization.h Fix typos, via a Levenshtein-type corrector (#31523) 2020-01-17 16:03:19 -08:00
blob_serializer_base.h
blob_stats.cc
blob_stats.h
blob_test.cc [caffe2] Enable copying for caffe2::Tensor (#36468) 2020-04-13 21:41:52 -07:00
blob.h
CMakeLists.txt Compile less legacy code when BUILD_CAFFE2 is set to False (take 2) (#44453) 2020-09-11 16:27:47 -07:00
common_cudnn.cc
common_cudnn.h Fix signed-unsigned warnings (#34791) 2020-03-19 00:29:56 -07:00
common_gpu.cc [c10/cuda] Reorganize device_count() and robustly surface ASAN warnings (#42249) 2020-08-05 11:39:31 -07:00
common_gpu.h Clarify timing of GetDeviceProperty() (#46715) 2020-10-22 11:29:31 -07:00
common_omp.h
common_test.cc
common.cc
common.h fix windows clang attributes (#33959) 2020-03-02 13:20:51 -08:00
context_base.cc Remove Tensor.h, TensorMethods.h from src/core. (#27086) 2019-10-06 09:37:50 -07:00
context_base.h pass TypeMeta by value (#45026) 2020-10-30 10:14:17 -07:00
context_gpu_test.cc
context_gpu.cu [c10/cuda] Reorganize device_count() and robustly surface ASAN warnings (#42249) 2020-08-05 11:39:31 -07:00
context_gpu.h pass TypeMeta by value (#45026) 2020-10-30 10:14:17 -07:00
context_test.cc
context.cc
context.h pass TypeMeta by value (#45026) 2020-10-30 10:14:17 -07:00
cudnn_wrappers.h
db.cc Properly format db.h and db.cc (#43027) 2020-08-24 18:29:45 -07:00
db.h Properly format db.h and db.cc (#43027) 2020-08-24 18:29:45 -07:00
distributions_stubs.h caffe2: use at::mt19937 instead of std::mt19937 (10x speedup) (#43987) 2020-10-16 16:08:35 -07:00
event_cpu.h
event_gpu_test.cc
event_gpu.cc Add error message if CUDA startup fails (#29670) 2019-11-13 16:48:40 -08:00
event_test.cc caffe2/event: allow multiple errors such as when cancelled (#31335) 2019-12-18 13:10:57 -08:00
event.cc caffe2/event: allow multiple errors such as when cancelled (#31335) 2019-12-18 13:10:57 -08:00
event.h Back out "Revert D20449887: [dt][caffe2] enable using smart exceptions in async nets" (#36172) 2020-04-13 11:31:52 -07:00
export_c10_op_to_caffe2.cc Rename caffe2<->c10 operator wrappers (#21322) 2019-06-07 13:48:10 -07:00
export_c10_op_to_caffe2.h Remove callBoxedWorkaround (#36850) 2020-04-24 23:13:31 -07:00
export_caffe2_op_to_c10.h [c10] Fix the hanlding for Caffe2 ops which return tensor list (#36841) 2020-04-18 13:30:43 -07:00
flags.h
graph_test.cc
graph.cc
graph.h
init_denormals.cc
init_intrinsics_check.cc cleanup warnings 2019-08-12 16:12:30 -07:00
init_omp.cc
init_test.cc
init.cc Update intra_inter_benchmark (#22051) 2019-06-21 23:06:27 -07:00
init.h Update intra_inter_benchmark (#22051) 2019-06-21 23:06:27 -07:00
int8_serialization.cc
logging.h
macros.h
macros.h.in [pytorch] deprecate static dispatch (#43564) 2020-08-27 14:52:48 -07:00
memonger.cc [caffe2][memonger] Add support for distributed inference predict nets in DAG memonger (#47718) 2020-11-13 14:12:07 -08:00
memonger.h [caffe2] Allow memonger to optimize nets with inplace(enforced) ops (#46560) 2020-10-22 13:23:33 -07:00
module_test.cc
module.cc Allow checking for cached module before asserting (#33954) 2020-03-02 15:43:50 -08:00
module.h cleanup warnings 2019-08-12 16:12:30 -07:00
net_async_base.cc Back out "Revert D20449887: [dt][caffe2] enable using smart exceptions in async nets" (#36172) 2020-04-13 11:31:52 -07:00
net_async_base.h Back out "Revert D20449887: [dt][caffe2] enable using smart exceptions in async nets" (#36172) 2020-04-13 11:31:52 -07:00
net_async_scheduling.cc [caffe2] adds Cancel to OperatorBase and NetBase (#44145) 2020-09-11 12:50:26 -07:00
net_async_scheduling.h caffe2/core/plan_executor: add cancellation of async nets on error + propagate exceptions via std::exception_ptr for stack traces (#31966) 2020-04-09 14:38:18 -07:00
net_async_task_future.cc Replace c10::guts::stuff with std::stuff (#30915) 2019-12-16 13:57:19 -08:00
net_async_task_future.h
net_async_task_graph.cc Replace c10::guts::stuff with std::stuff (#30915) 2019-12-16 13:57:19 -08:00
net_async_task_graph.h
net_async_task.cc Fix signed-unsigned warnings (#34791) 2020-03-19 00:29:56 -07:00
net_async_task.h
net_async_tracing_test.cc
net_async_tracing.cc Fix typos, via a Levenshtein-type corrector (#31523) 2020-01-17 16:03:19 -08:00
net_async_tracing.h Add batch id to tracer event (#21446) 2019-06-13 17:13:42 -07:00
net_dag_utils_test.cc
net_dag_utils.cc Fix typos (#30606) 2019-12-02 20:17:42 -08:00
net_dag_utils.h
net_gpu_test.cc
net_parallel.cc Fix signed-unsigned warnings (#34791) 2020-03-19 00:29:56 -07:00
net_parallel.h
net_simple_refcount_test.cc
net_simple_refcount.cc Fix signed-unsigned warnings (#34791) 2020-03-19 00:29:56 -07:00
net_simple_refcount.h
net_simple.cc Wait for all op types in SimpleNet (#39493) 2020-06-11 13:00:34 -07:00
net_simple.h
net_test.cc Back out "Revert D20449887: [dt][caffe2] enable using smart exceptions in async nets" (#36172) 2020-04-13 11:31:52 -07:00
net.cc [caffe2] adds Cancel to OperatorBase and NetBase (#44145) 2020-09-11 12:50:26 -07:00
net.h [caffe2] adds Cancel to OperatorBase and NetBase (#44145) 2020-09-11 12:50:26 -07:00
numa.cc
numa.h
observer_test.cc Replace c10::guts::stuff with std::stuff (#30915) 2019-12-16 13:57:19 -08:00
observer.h
operator_gpu_test.cc
operator_gradient.h Fix "missing return statement" warning (#22216) 2019-06-25 16:57:42 -07:00
operator_schema_test.cc
operator_schema.cc Move OperatorSchema default inference function implementations to .cc… (#40845) 2020-07-01 11:42:52 -07:00
operator_schema.h Move OperatorSchema default inference function implementations to .cc… (#40845) 2020-07-01 11:42:52 -07:00
operator_test.cc Make msg() and msg_with_backtrace() private (#37094) 2020-05-04 11:54:34 -07:00
operator.cc Move OperatorBase::AddRelatedBlobInfo implementation to .cc file (#40844) 2020-07-01 11:48:15 -07:00
operator.h Fix a downcast (#47919) 2020-11-13 22:26:29 -08:00
parallel_net_test.cc [Caffe2] Increase timing threshold to 50 ms on Windows (#37892) 2020-05-05 19:45:36 -07:00
plan_executor_test.cc caffe2/plan_executor: propagate exceptions from reporter substeps (#46424) 2020-10-16 12:28:57 -07:00
plan_executor.cc pass TypeMeta by value (#45026) 2020-10-30 10:14:17 -07:00
plan_executor.h
prof_dag_counters.cc Fix signed-unsigned warnings (#34791) 2020-03-19 00:29:56 -07:00
prof_dag_counters.h Fix signed-unsigned warnings (#34791) 2020-03-19 00:29:56 -07:00
qtensor_serialization.cc
qtensor_serialization.h
qtensor.cc
qtensor.h
scope_guard.h Fix typos, via a Levenshtein-type corrector (#31523) 2020-01-17 16:03:19 -08:00
static_tracepoint_elfx86.h Fix typos, via a Levenshtein-type corrector (#31523) 2020-01-17 16:03:19 -08:00
static_tracepoint.h
stats_test.cc
stats.cc
stats.h
storage.h
tensor_impl.h Remove Tensor.h, TensorMethods.h from src/core. (#27086) 2019-10-06 09:37:50 -07:00
tensor_int8.cc
tensor_int8.h
tensor.cc Remove datatype from Storage and StorageImpl (#38870) 2020-05-21 15:26:08 -07:00
tensor.h pass TypeMeta by value (#45026) 2020-10-30 10:14:17 -07:00
test_utils.cc C++ C2/Glow operator unittest 2020-01-17 12:13:34 -08:00
test_utils.h C++ C2/Glow operator unittest 2020-01-17 12:13:34 -08:00
timer_test.cc Increase TimerTest tolerance to 20% on Windows (#35818) 2020-04-01 14:29:05 -07:00
timer.h
transform_test.cc fixup unit tests (#34105) 2020-03-03 10:33:21 -08:00
transform.cc
transform.h
types.cc pass TypeMeta by value (#45026) 2020-10-30 10:14:17 -07:00
types.h pass TypeMeta by value (#45026) 2020-10-30 10:14:17 -07:00
workspace_test.cc
workspace.cc Wait for all op types in SimpleNet (#39493) 2020-06-11 13:00:34 -07:00
workspace.h Fix typos, via a Levenshtein-type corrector (#31523) 2020-01-17 16:03:19 -08:00