Skip to content

Commit 4723ecd

Browse files
committed
more
1 parent aa382fc commit 4723ecd

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

src/torchcodec/_core/NVDECCache.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ NVDECCache& NVDECCache::getCache(int deviceIndex) {
2727
deviceIndex);
2828
static NVDECCache cacheInstances[MAX_CUDA_GPUS];
2929
if (deviceIndex == -1) {
30-
// TODO NVDEC P3: Unify with existing getNonNegativeDeviceIndex()
30+
// TODONVDEC P3: Unify with existing getNonNegativeDeviceIndex()
3131
TORCH_CHECK(
3232
cudaGetDevice(&deviceIndex) == cudaSuccess,
3333
"Failed to get current CUDA device.");

src/torchcodec/_core/NVDECCache.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,6 @@ class NVDECCache {
6868
CacheKey(const CacheKey&) = default;
6969
CacheKey& operator=(const CacheKey&) = default;
7070

71-
// TODONVDEC P2: consider a more sophisticated and potentially
72-
// less strict cache key comparison logic
7371
bool operator<(const CacheKey& other) const {
7472
return std::tie(
7573
codecType,

0 commit comments

Comments
 (0)