Move files to/from c10/core and c10/util (#15316)

Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/15316

This starts cleaning up the files in c10 according to the module structure we decided on.

Move to c10/util:
- Half.h, Half-inl.h, Half.cpp, bitcasts.h

Move to c10/core:
- Device.h, Device.cpp
- DeviceType.h, DeviceType.cpp

i-am-not-moving-c2-to-c10

Reviewed By: dzhulgakov

Differential Revision: D13498493

fbshipit-source-id: dfcf1c490474a12ab950c72ca686b8ad86428f63
This commit is contained in:
Sebastian Messmer
2019-01-10 16:06:27 -08:00
committed by Facebook Github Bot
parent 6b64052e20
commit d408324350
65 changed files with 86 additions and 84 deletions

View File

@ -839,8 +839,10 @@ if __name__ == '__main__':
'lib/include/c10/*.h',
'lib/include/c10/macros/*.h',
'lib/include/c10/core/*.h',
'lib/include/c10/core/dispatch/*.h',
'lib/include/c10/core/impl/*.h',
'lib/include/c10/core/opschema/*.h',
'lib/include/c10/util/*.h',
'lib/include/c10/impl/*.h',
'lib/include/c10/cuda/*.h',
'lib/include/c10/cuda/impl/*.h',
'lib/include/c10/hip/*.h',