From 89d0137d389da3317414e31a56ffd990af44bd38 Mon Sep 17 00:00:00 2001 From: Aryan Salmanpour Date: Fri, 1 Nov 2024 16:38:38 -0400 Subject: [PATCH] increase the mem_alignment size used for output image rgb memory allocation (#70) [ROCm/rocjpeg commit: c92ba3d1c4b79e2e8d0c273ae254e20485a70029] --- projects/rocjpeg/samples/rocjpeg_samples_utils.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/rocjpeg/samples/rocjpeg_samples_utils.h b/projects/rocjpeg/samples/rocjpeg_samples_utils.h index ec8f939937..83d6d1ba3f 100644 --- a/projects/rocjpeg/samples/rocjpeg_samples_utils.h +++ b/projects/rocjpeg/samples/rocjpeg_samples_utils.h @@ -620,7 +620,7 @@ public: } private: - static const int mem_alignment = 1024 * 1024; + static const int mem_alignment = 4 * 1024 * 1024; /** * @brief Shows the help message and exits. *