Skip to content

sycl-for-cuda causes build error #1124

Closed
@varsha-madananth

Description

@varsha-madananth

We have been experimenting with sycl-for-cuda this week. We experienced couple of issues over this week. To summarize-

  1. On 02/10 - Successful build of sycl-for-cuda. However, when running the executable generated for nvidia target , results in -
    what(): OpenCL API failed. OpenCL API returns: -30 (CL_INVALID_VALUE) -30 (CL_INVALID_VALUE)
    which is strange because as per the blogpost below you do not need OpenCL for running on nvidia.
    https://www.codeplay.com/portal/02-03-20-codeplay-contribution-to-dpcpp-brings-sycl-support-for-nvidia-gpus.
    Please correct me if my understanding is wrong.

  2. On 02/11 - Unsuccessful build (see attached logs). Looks like there was an attempt made to fix the issue by changing the call from CL to PI as per git history. But it is not fixed completely, as it gives build errors. I just wanted to bring this to the developers notice. In case, it is being fixed, please let us know and if we are missing something here.

Thanks,
Varsha
builderror0211.txt

simplesyclapplogs.txt

Metadata

Metadata

Assignees

Labels

cudaCUDA back-end

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions