Skip to content

Fix 4 failing test cases for AIX #3346

@KamathForAIX

Description

@KamathForAIX

Summary

Platform: PowerPC

OS: AIX

Faiss version: Master branch

Installed from: compiled by myself

Faiss compilation options: Standard instructions using cmake

Reproduction instructions

Run the test cases in AIX. 4 of them will fail. They are testCppcontribUintreader.Test8bit , testCppcontribUintreader.Test10bit, testCppcontribUintreader.Test12bit and testCppcontribUintreader.Test16bit

This happened because the Uint8Reader, Uint10Reader, Uint12Reader and Uint16Reader containers are designed for little endian format in faiss/cppcontrib/detail/UintReader.h.

Handling big endian format has fixed these issues in AIX. Kindly let me know what you think.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions