Skip to content

Disable assertions when building DPCPP for use in performance benchmarking #17609

@uditagarwal97

Description

@uditagarwal97

Describe the bug

IIUC, currently, in Nightly we build DPCPP in Release mode but with assertions on (why is it even on by default?). Having assertions on can slow down clang and LLVM, and can skew the benchmarking results.

Solution: Turn off assertions in Nightly DPC++ build (maybe in shared lib build?) and use that compiler package for benchmarking.

To reproduce

No response

Environment

Additional context

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions