Skip to content

running cufile_sample_034 with difference parameters fail #18

@baggio1008

Description

@baggio1008

The test case with default parameters runs fine.

After changing MAX_BATCH_SIZE from 4 to 256, test report failure. (MAX_BATCH_SIZE 133 is the golden value to pass, 134 will fail)
cuFileReadAsync return value is still CU_FILE_SUCCESS while when sync stream and check for result in below code:
Image
read_bytes_done return -5 and test exit.

I have already put all big arrays in the test from stack to heap to avoid stack overflow.

Also, with 128 BATCH size, if i change MAX_BUF_SIZE from (1024 * 1024UL) to (64 * 1024 * 1024UL), test will also fail.
io error issued size:67108864 read:67104768 write:67108864
4096 bytes are missing

GPU is Nvidia A2
OS is debian 9
Env: NVIDIA-SMI 535.216.01 Driver Version: 535.216.01 CUDA Version: 12.2
FS: EXT-4

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