[swap_device] change lseek return type from int to off_t
authorhyeonseok lee <hs89.lee@samsung.com>
Tue, 6 Dec 2022 10:30:00 +0000 (19:30 +0900)
committerJijoong Moon <jijoong.moon@samsung.com>
Thu, 22 Dec 2022 23:59:03 +0000 (08:59 +0900)
commit9f63dc01b42a247d856ff0b99db52571da8d0445
treec3017a62f05e3514f7629a56ccdae50b68c9706c
parentcac78bfa9aae4724ca51742a9acfeb88767145ea
[swap_device] change lseek return type from int to off_t

 - Return value of lseek is offset of requested position. The 4byte int type cannot represent
   more than 3GB so any request more than 3GB offset cause overflow.

Signed-off-by: hyeonseok lee <hs89.lee@samsung.com>
nntrainer/tensor/cache_pool.cpp
nntrainer/tensor/cache_pool.h
nntrainer/tensor/swap_device.cpp
nntrainer/tensor/swap_device.h