Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

running cufile_sample_034 with difference parameters fail #18

Open
baggio1008 opened this issue Jan 7, 2025 · 1 comment
Open

running cufile_sample_034 with difference parameters fail #18

baggio1008 opened this issue Jan 7, 2025 · 1 comment

Comments

@baggio1008
Copy link

baggio1008 commented Jan 7, 2025

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

@baggio1008
Copy link
Author

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

@baggio1008 baggio1008 changed the title running cufile_sample_31 with difference parameters fail running cufile_sample_034 with difference parameters fail Jan 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant