You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
message(STATUS"Not building torchcodec with nvJPEG support (disabled via TORCHCODEC_BUILD_NVJPEG/TORCHCODEC_BUILD_IMAGE): decode_jpeg(device='cuda') will raise at runtime.")
564
564
endif()
565
565
566
+
# ROCm counterpart of the nvJPEG block above: GPU JPEG decoding via rocJPEG.
567
+
# PyTorch exposes AMD GPUs under the "cuda" device string, so decode_jpeg(
568
+
# device="cuda") routes to the same decode_jpegs_cuda op, backed by rocJPEG.
message(STATUS"Building torchcodec with rocJPEG GPU JPEG decoding support.")
597
+
elseif(ENABLE_ROCM)
598
+
message(STATUS"Not building torchcodec with rocJPEG support (disabled via TORCHCODEC_BUILD_ROCJPEG/TORCHCODEC_BUILD_IMAGE): decode_jpeg(device='cuda') will raise at runtime.")
0 commit comments