Changeset 1684 in CLRX


Ignore:
Timestamp:
Nov 9, 2015, 9:52:18 PM (5 years ago)
Author:
matszpk
Message:

CLRadeonExtender: Missing clReleaseEvent in samples.

Location:
CLRadeonExtender/trunk/samples
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • CLRadeonExtender/trunk/samples/ImageMix.cpp

    r1683 r1684  
    3939        .dims xy        # uses two dimensions
    4040        .uavid 11       # force first UAV=12
    41         .arg img1,image,read_only       # read_only image2d_t img1
    42         .arg img2,image,read_only       # read_only image2d_t img2
     41        .arg img1, image, read_only     # read_only image2d_t img1
     42        .arg img2, image, read_only     # read_only image2d_t img2
    4343        .arg outimg,image,write_only    # write_only image2d_t outimg
    4444        .userdata ptr_resource_table, 0, 2, 2   # s[2:3] - res. table for read only images
     
    263263        throw CLError(error, "clWaitForEvents");
    264264    }
     265    clReleaseEvent(event);
    265266   
    266267    /* write image to output */
  • CLRadeonExtender/trunk/samples/VectorAdd.cpp

    r1682 r1684  
    236236        throw CLError(error, "clWaitForEvents");
    237237    }
     238    clReleaseEvent(event);
    238239   
    239240    /// read output buffer
Note: See TracChangeset for help on using the changeset viewer.