`bench_cg.py` fails with NVRTC Error

Abierto
#199 3 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
25/100
Tipo de issue
Error
Claridad
Necesita aclaración
Estado de actividad
Estancado
Stack tecnológico
python
Área
hpc

Línea de trabajo

Comience ejecutando examples/bench_cg.py con las versiones de Python y ArrayFire indicadas en el issue, y luego inspeccione la operación que falla en la línea 144 y el error de NVRTC de src/backend/cuda/jit.cpp:298. Determine por qué el benchmark no puede compilar esta operación en el entorno de CUDA indicado; se considera terminado cuando el benchmark complete sus pruebas sin el error de compilación de NVRTC.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

Running bench_cg. py from the examples, gives me this error:

python bench_cg.py
ArrayFire v3.6.2 (CUDA, 64-bit Linux, build dc38ef1)
Platform: CUDA Toolkit 10, Driver: 410.79
[0] Tesla K80, 11442 MB, CUDA Compute 3.7
-1- Tesla K80, 11442 MB, CUDA Compute 3.7
-2- Tesla K80, 11442 MB, CUDA Compute 3.7
-3- Tesla K80, 11442 MB, CUDA Compute 3.7

Testing benchmark functions...
Traceback (most recent call last):
  File "bench_cg.py", line 197, in <module>
    test()
  File "bench_cg.py", line 144, in test
    if af.sum(af.abs(x1 - x2)/x2 > 1e-6):
  File "/home/vanderaa/miniconda3/envs/arrayfire/lib/python3.7/site-packages/arrayfire/array.py", line 894, in __truediv__
    return _binary_func(self, other, backend.get().af_div)
  File "/home/vanderaa/miniconda3/envs/arrayfire/lib/python3.7/site-packages/arrayfire/array.py", line 175, in _binary_func
    safe_call(c_func(c_pointer(out.arr), lhs.arr, other.arr, _bcast_var.get()))
  File "/home/vanderaa/miniconda3/envs/arrayfire/lib/python3.7/site-packages/arrayfire/util.py", line 79, in safe_call
    raise RuntimeError(to_str(err_str))
RuntimeError: In function std::vector<char> cuda::compileToPTX(const char*, std::string)
In file src/backend/cuda/jit.cpp:298
NVRTC Error(6): NVRTC_ERROR_COMPILATION

System: Linux K80 4.15.0-1035-azure #36~16.04.1-Ubuntu SMP Fri Nov 30 15:25:49 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
python --version:
Python 3.7.1

$pip  show arrayfire
Name: arrayfire
Version: 3.6.20181017
Summary: Python bindings for ArrayFire
Home-page: http://arrayfire.com
Author: Pavan Yalamanchili
Author-email: contact@pavanky.com
License: BSD
Location: /mnt/vanderaa/miniconda3/envs/arrayfire/lib/python3.7/site-packages
Requires:
Required-by:
Lenguaje dominante
Python
Estrellas
422
Forks
63
Métricas de merge de PR
Sin PR fusionados en 30 d

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de arrayfire/arrayfire-python

Todos los issues de arrayfire/arrayfire-python

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.