Skip to content
This repository has been archived by the owner on Jun 18, 2021. It is now read-only.

Rewrite GpuFuture to avoid blocking and to use less space #214

Merged
merged 1 commit into from Mar 27, 2020
Merged

Rewrite GpuFuture to avoid blocking and to use less space #214

merged 1 commit into from Mar 27, 2020

Commits on Mar 27, 2020

  1. Rewrite GpuFuture to avoid blocking and to use less space

    Remove odd patching matching
    
    Replace std::sync::Mutex with spin::Mutex in GpuFuture
    
    Reduce GpuFuture usage to one explicit allocation instead of two
    
    Fix examples to poll the device in the background when using map_read or map_write
    
    Remove device.poll from GpuFuture::poll and document future invariants
    
    Massively simplify examples
    
    Use Arc::clone(...) instead of arc.clone()
    
    Switch println to log::info
    lachlansneff committed Mar 27, 2020
    Configuration menu
    Copy the full SHA
    ea6bcd0 View commit details
    Browse the repository at this point in the history