codeplaysoftware / portBLAS

An implementation of BLAS using the SYCL open standard.
Apache License 2.0
250 stars 48 forks source link

`error: use of undeclared identifier 'sycl'` while building portBLAS with AdaptiveCpp #514

Closed krishvishal closed 4 months ago

krishvishal commented 4 months ago

I am trying to build portBLAS with AdaptiveCpp but I keep getting error: use of undeclared identifier 'sycl'.

Build command:

export ACPP_TARGETS=generic

cmake -GNinja -DTUNING_TARGET=NVIDIA_GPU -DCMAKE_BUILD_TYPE=Release       -DSYCL_COMPILER=adaptivecpp -DACPP_TARGETS=$ACPP_TARGETS       -DBLAS_ENABLE_BENCHMARK=ON ..

Environment: Ubuntu 20.04 (WSL2) Clang17 AdaptiveCpp built from source

Full stacktrace: https://pastebin.com/k0iW2HqR

s-Nick commented 4 months ago

Hi @krishvishal, we recently merged PR #513 that fixes the issue you encountered. Could you please update your portBLAS repository and try again?

krishvishal commented 4 months ago

Thank you for replying quickly! This PR fixes the problem.

Closing the issue.