unit test numeric failures in test_metal and test_gpu
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 35/100
- Tipo de issue
- Error
- Claridad
- Necesita aclaración
- Estado de actividad
- Estancado
- Stack tecnológico
- cpp, macos
- Área
- computer-graphics, testing-qa
Línea de trabajo
Comienza ejecutando mediante ctest los casos con fallos reportados en test_metal y test_gpu, y compara los valores de CPU, GPU y tolerancia indicados en el issue. Determina si cada discrepancia es un fallo numérico específico de la plataforma y si es apropiado realizar un ajuste acotado de la tolerancia o del test. Se considera terminado cuando los fallos tienen una solución o workaround acordado y ctest pasa en la configuración de macOS afectada.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
macOS Sequoia 15.7.1 (i.e. fully up to patch level for Sequoia)
GL Vendor: Apple
GL Renderer: Apple M4 Max
GL Version: 2.1 Metal - 89.4
GLSL Version: 1.20
[202/241] [Lut1DOp / lut1d_file2_disallow_tex1D_test ] - FAILED -
Maximum error: 1 at pixel: 43691 on component 1 larger than epsilon.
src = {1.000015259, 1.000026703, 1.000038147, 1.000049591}
cpu = {0, 1, 0, 1.000049591}
gpu = {0, 0, 0, 1.000049591}
absolute tolerance=9.999999747e-05
If the tolerance is 0.0001, and the failure magnitude is 1.0, this feels like a rounding error in the LUT somewhere.
As an example of a more typical error, as it turns out there are two failures in test_metal, the other being this one:
[ 56/241] [FixedFunction / style_aces2_rgb_to_jmh_fwd ] - FAILED -
Maximum error: 0.000244140625 at pixel: 13 on component 2 larger than epsilon.
src = {0.2668400109, 0.2460400015, 0.4093199968, 1}
cpu = {53.46554947, 13.12156677, 285.6588745, 1}
gpu = {53.4655571, 13.12158012, 285.6591187, 1}
absolute tolerance=0.0001999999949
Over in test_gpu, there's this:
[ 69/241] [FixedFunction / style_RGB_TO_HSV_inv_custom ] - FAILED -
Maximum error: 7.629394531e-06 at pixel: 7 on component 1 larger than epsilon.
src = {0.5, 2.5, 0.03999999911, 0}
cpu = {-39.95812988, 39.9981308, 39.9981308, 0}
gpu = {-39.95812988, 39.99812317, 39.99812317, 0}
absolute tolerance=9.999999975e-07
As I am trying to get ctest to run without failure to satisfy the MacPorts CI system, I'd appreciate insight on the first one here, and would ask if there's a workaround (perhaps a way to relax the tolerances for just one test?) on the second and third ones.
- Lenguaje dominante
- C++
- Estrellas
- 2.1k
- Forks
- 513
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de AcademySoftwareFoundation/OpenColorIO
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 61/100
AcademySoftwareFoundation/OpenColorIO#2364 · 1 comentario ·
-
Inconsistent run-time library usage for locale handling breaks GPU code generation on some systems.Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 86/100
AcademySoftwareFoundation/OpenColorIO#2351 · 2 comentarios ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
-
Build failure on GCC/MinGW (MXE): std::ifstream constructor mismatch with Platform::filenameToUTF()Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Todos los issues de AcademySoftwareFoundation/OpenColorIO
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
mw00/project-maya#1368 ·
Los mantenedores suelen responder en 2 días
-
needs triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
[LLK][QSR][PERF] eltwise_binary: perf harness INIT enables direct indexing, production does notAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
tenstorrent/tt-metal#67662 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
maplibre/maplibre-native#5159 ·
Los mantenedores suelen responder en 1 día
-
enhancement question
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
lbr-stack/lbr_fri_ros2_stack#420 · 1 comentario ·