Skip to content

CUDA_ERROR_ILLEGAL_ADDRESS in wait() #1920

Closed
@mmeterel

Description

@mmeterel

I am working to enable cublasSgemmBatched (and other precisions) for CUDA backend in oneMKL open source interfaces, and I am seeing the below error when I call queue.wait() or event.wait().

PI CUDA ERROR:
Value: 700
Name: CUDA_ERROR_ILLEGAL_ADDRESS
Description: an illegal memory access was encountered
Function: wait
Source Location: /nfs/pdx/disks/mkl_project/mmeterel/tools/dpcpp/llvm/sycl/plugins/cuda/pi_cuda.cpp:374

Error points to cuEventSynchronize() in wait().

pi_result pi_event::wait() {
pi_result retErr;
try {
retErr = PI_CHECK_ERROR(cuEventSynchronize(evEnd
));
isCompleted_ = true;
} catch (pi_result error) {
retErr = error;
}

return retErr;
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingcudaCUDA back-endruntimeRuntime library related issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions