Skip to content

Avoid CL_BUILD_PROGRAM_FAILURE under DPC++ for devices not supporting doubles #2968

Closed
@ekondis

Description

@ekondis

I'm developing a SYCL program which invokes multiple kernels, one of which is using double precision computations. However, when run on a Gen12LP HD GPU, which seems not to support double precision, I get an exception during build (CL_BUILD_PROGRAM_FAILURE):

error: double type is not supported on this platform
error: backend compiler failed build.

AFAIK, kernel building under SYCL is performed implicitly. Can I control somehow which kernels will be compiled under DPC++ so I can avoid the exception for devices not supporting double precision?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions