Skip to content

Presence of empty function "CudaTest(char* msg)" causes segmentation fault.  #4

@cbadjatya

Description

@cbadjatya

`
frontiers_len += h_nitems;

depth_index.push_back(frontiers_len);

bc_forward<<<nblocks, nthreads>>>(m, d_row_offsets, d_column_indices, d_path_counts, d_depths, depth, d_changed, d_visited, d_expanded, d_nitems, d_frontiers, frontiers_len);

CudaTest("solving bc_forward failed");

bc_update <<<nblocks, nthreads>>> (m, d_depths, d_visited);

CudaTest("solving bc_update failed");
`

Removing these function calls work for me.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions