Skip to content

Error after instrumenting CALL.REL.NOINC #142

@Lucindaaaa

Description

@Lucindaaaa

Issue

When we instrument any instruction with CALL.REL.NOINC (CALL.ABS.NOINC is fine), there will be an error msg like

Cuda error in function 'cudaDeviceSynchronize()' file 'instr_count.cu' in line 240 : an illegal memory access was encountered.

Inside instr_count, if I added the if(!strcmp(i->getOpcode(), "CALL.REL.NOINC")) continue; inside instrument_function_if_needed() to just skip CALL.REL.NOINC, it runs to completion with no obvious problem.

Setup

GPU: A100
Driver Version: 555.42.02
CUDA Version: 12.5
Compute Capability: 8.0
NVBit version: 1.7.4

I just want to report this in case it's not already known, since I accidentally encountered it.

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