(size)
| 564 | |
| 565 | def test_BufferWriter(): |
| 566 | def allocate(size): |
| 567 | cbuf = global_context.new_buffer(size) |
| 568 | writer = cuda.BufferWriter(cbuf) |
| 569 | return cbuf, writer |
| 570 | |
| 571 | def test_writes(total_size, chunksize, buffer_size=0): |
| 572 | cbuf, writer = allocate(total_size) |
no outgoing calls
no test coverage detected