inducer / inducer/pyopencl

warning: unused argument during compilation

Open
#511 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
1.2k
Forks
247
Avg merge
7h 2m
Merged PRs (30d)
6

Description

Started getting this warning after moving to Ubuntu 20.04.

Using RX Vega 64 and the AMD gpupro drivers. My Kernel executes and runs fine, but having the warning pop up is frustrating. Is it possible to resolve this? Or suppress the warning completely. Setting `os.environ[ "PYOPENCL_COMPILER_OUTPUT" ] = "0"` still displays a warning.

```
/home/jer/python/virtualenv/REDHOT4/lib/python3.8/site-packages/pyopencl/__init__.py:264: CompilerWarning: Built kernel retrieved from cache. Original from-source build had warnings:
Build on succeeded, but said:

warning: argument unused during compilation: '-I /home/jer/python/virtualenv/REDHOT4/lib/python3.8/site-packages/pyopencl/cl'
1 warning generated.

warn(text, CompilerWarning)
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.