Skip to content

arthurrasmusson/Python-Native-libCuFile

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Full Python implementation of GDS as a library.

Usage example:

from pygds_lib import PYGDS

# Basic usage
gds = PYGDS(buffer_size=4*1024, pattern_byte=0xAB)
gds.run_demo("test_gds.bin")

# Custom usage
gds = PYGDS(buffer_size=8*1024, pattern_byte=0xCD)
gds.setup_buffers()
gds.open_file("custom_file.bin")
size_mb, time_ms, bandwidth = gds.write_buffer()
print(f"Custom write: {size_mb:.2f} MB in {time_ms:.2f} ms ({bandwidth:.2f} GB/s)")
gds.cleanup()

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages