Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tasks/example_processes/tests/functional/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class NesterovARunFuncTestsProcesses : public ppc::util::BaseRunFuncTests<InType
std::vector<uint8_t> img;
// Read image in RGB to ensure consistent channel count
{
std::string abs_path = ppc::util::GetAbsoluteTaskPath(PPC_ID_example_processes, "pic.jpg");
std::string abs_path = ppc::util::GetAbsoluteTaskPath(PPC_ID_example_processes, "pic.ppm");
auto *data = stbi_load(abs_path.c_str(), &width, &height, &channels, STBI_rgb);
if (data == nullptr) {
throw std::runtime_error("Failed to load image: " + std::string(stbi_failure_reason()));
Expand Down
2 changes: 1 addition & 1 deletion tasks/example_processes_2/tests/functional/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class NesterovARunFuncTestsProcesses2 : public ppc::util::BaseRunFuncTests<InTyp
std::vector<uint8_t> img;
// Read image in RGB to ensure consistent channel count
{
std::string abs_path = ppc::util::GetAbsoluteTaskPath(PPC_ID_example_processes_2, "pic.jpg");
std::string abs_path = ppc::util::GetAbsoluteTaskPath(PPC_ID_example_processes_2, "pic.ppm");
auto *data = stbi_load(abs_path.c_str(), &width, &height, &channels, STBI_rgb);
if (data == nullptr) {
throw std::runtime_error("Failed to load image: " + std::string(stbi_failure_reason()));
Expand Down
2 changes: 1 addition & 1 deletion tasks/example_processes_3/tests/functional/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class NesterovARunFuncTestsProcesses3 : public ppc::util::BaseRunFuncTests<InTyp
std::vector<uint8_t> img;
// Read image in RGB to ensure consistent channel count
{
std::string abs_path = ppc::util::GetAbsoluteTaskPath(PPC_ID_example_processes_3, "pic.jpg");
std::string abs_path = ppc::util::GetAbsoluteTaskPath(PPC_ID_example_processes_3, "pic.ppm");
auto *data = stbi_load(abs_path.c_str(), &width, &height, &channels, STBI_rgb);
if (data == nullptr) {
throw std::runtime_error("Failed to load image: " + std::string(stbi_failure_reason()));
Expand Down
2 changes: 1 addition & 1 deletion tasks/example_threads/tests/functional/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class NesterovARunFuncTestsThreads : public ppc::util::BaseRunFuncTests<InType,
std::vector<uint8_t> img;
// Read image in RGB to ensure consistent channel count
{
std::string abs_path = ppc::util::GetAbsoluteTaskPath(std::string(PPC_ID_example_threads), "pic.jpg");
std::string abs_path = ppc::util::GetAbsoluteTaskPath(std::string(PPC_ID_example_threads), "pic.ppm");
auto *data = stbi_load(abs_path.c_str(), &width, &height, &channels, STBI_rgb);
if (data == nullptr) {
throw std::runtime_error("Failed to load image: " + std::string(stbi_failure_reason()));
Expand Down
Loading