Skip to content

OpenCL assertion failure #796

@tyler-utah

Description

@tyler-utah

Hi,

We were trying to write some OpenCL tests using clspv, but we get an assertion error when launching amber.

First we synced clspv:

git-sync-deps --with-clspv

Then we build with clspv:

cmake -GNinja -DAMBER_USE_LOCAL_VULKAN=1 -DAMBER_USE_CLSPV=TRUE ../..

And after building, when we run amber, even with no input (e.g. amber -d ), we get an error:

amber: ../../third_party/clspv-llvm/llvm/include/llvm/Support/CommandLine.h:853: void llvm::cl::parser<DataType>::addLiteralOption(llvm::StringRef, const DT&, llvm::StringRef) [with DT = llvm::ScheduleDAGInstrs* (llvm::MachineSchedContext*); DataType = llvm::ScheduleDAGInstrs* (llvm::MachineSchedContext*)]: Assertion `findOption(Name) == Values.size() && "Option already exists!"' failed.

Thanks in advance!

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions