top of page
Writer's pictureAlik Sargsyan

CuLab New Version Released v3.0.

Updated: Nov 12

This is a major update of CuLab which bring lots of new functionalities and improvements.

New Features

  1. Added “Computer Vision” palette with the following new functions: Images are represented as T2D tensors. Grayscale images are represented with help of U8, I8, U16, I16, SGL datatypes, while color images (e.g. ARGB) are represented using U32 datatype. Some functions also support batch mode of operation in which case the batch of images are provided as T3D tensors.

    1. CU_CV_GrayMorpholgy.vi - Performs grayscale morphological transformations.

      1. Supported operations: Erode, Dilate

      2. Supported input types: U8, U16, SGL.

      3. Batch mode supported: False.

    2. CU_CV_Resample.vi - Performs resampling operation.

      1. Supported input types: All CV types.

      2. Batch mode supported: True.

    3. CU_CV_Extract.vi - Extracts a portion of the input image.

      1. Supported input types: All CV types.

      2. Batch mode supported: True.

  2. Added new function in “Signal Operation” subpalette:

    1. CU_Digital_Down_Conversion.vi - Performs digital down conversion.

      1. Supported input types: SGL, DBL, CSG, CDB.

      2. Batch mode supported: True.

    2. CU_Convolution_Batch.vi – Performs batch convolution operation.

      1. Supports 1D MCH-MCH, MCH-1CH modes.

      2. Batched instances in CU_Convolution polymorphic vi have been removed.

    3. Added support for 2D convolution to CU_Convolution.vi.

      1. Supported input types: SGL, DBL.

  3. Changed the “FFT” subpalette name to “Transforms” and added the following functions:

    1. CU_Hilbert_Transform.vi - Computes the fast Hilbert transform of the input Tensor.

      1. Accepted input Tensor types: SGL, DBL

      2. Supported dimensionalities: T1D.

    2. CU_Analytic_Signal.vi - Computes the complex Analytic Signal of the real-valued input Tensor.

      1. Accepted input Tensor types: SGL, DBL

      2. Return Tensor types: CSG, CDB

      3. Supported dimensionalities: T1D.

  4. Added “Boolean Operation” palette with the following functions.

    1. CU_Boolean_2in.vi – compound function for different binary(two-input) logical operations:

      1. AND

      2. OR

      3. XOR

      4. NAND

      5. NOR

      6. XNOR

      7. Select X

      8. Select Y

    2. CU_Boolean_Not.vi

    3. CU_And_Array_Elements.vi

    4. CU_Or_Array_Elements.vi

  5. Added “Comparison Operation” palette with the following functions.

    1. CU_Compare_1_Input.vi – compound function for different unary (single-input) comparison operations:

      1. Equal To 0?

      2. Not Equal To 0?

      3. Greater Than 0?

      4. Greater Or Equal To 0?

      5. Less than 0?

      6. Less Or Equal To 0?

    2. CU_Compare_2_Inputs.vi – compound function for different binary (two-input) comparison operations.

      1. Equal?

      2. Not Equal?

      3. Greater?

      4. Greater Or Equal?

      5. Less?

      6. Less Or Equal?

        Supports all Tensor types. Accepts Comparison with a Constant.

    3. CU_In_Range_and_Coerce.vi

      1. Supports all Tensor types, except complex types.

      2. Supports all tensor dimensionalities except T0D.

    4. CU_Max_Min.vi

      1. Supports all Tensor types, except complex types.

      2. Supports tensor dimensionalities: T1D, T2D.

  6. Added “Lookup” subpalette in “Array” palette with the following functions.

    1. CU_Array_Lookup_by_Index.vi - Returns a Tensor containing elements of the input Tensor specified by Index Tensor.

      1. Supports all tensor dimensionalities except T0D.

      2. Supports all Tensor types.

    2. CU_Array_Lookup_by_Bool.vi - Returns a Tensor containing elements of the input Tensor, that have a value 1 (TRUE) in Boolean input Tensor.

      1. Supports all tensor dimensionalities except T0D.

      2. Supports all Tensor types, except complex types.

  7. Added new function in “Array” palette.

    1. CU_Replace_Array_Elemenets_by_Index_Batch.vi - replaces elements in input Tensor with elements from Sub-Tensor at indices specified in Index-Tensor

      1. Supports tensor dimensionalities: T1D, T2D.

      2. Accepts all input Tensor types.

  8. Added new functions in “Numeric” palette.

    1. CU_Add_Broadcast.vi - Performs broadcast addition of T2D with T1D

      1. Supported input types: SGL, DBL, CSG, CDB.

    2. CU_Multiply_Broadcast.vi - Performs broadcast multiplication of T2D with T1D

      1. Supported input types: SGL, DBL, CSG, CDB.


  9. Added option for swapping inputs in tensor-constant operations for CU_Subtract.vi and CU_Divide.vi

  10. Added the following function in “Conversion” subpalette.

    1. CU_To_U64.vi

  11. Added “Utilities” palette with the following function:

    1. Get_Exec_Time.vi – returns the execution time.

  12. Added the following function in “Device Management” subpalette.

    1. CU_Get_CUDA_Version.vi – returns CUDA version.

    2. CU_Reset_GPU.vi - Destroy all allocations and reset all states.

  13. Added GPU info tool in help menu (Help>Ngene>CuLab>GPU Info...).


Optimizations

  1. Significantly optimized the efficiency of data movement between CPU and GPU which leads to significant (30-40% for common benchmarks) improvement of toolkit overall performance.

  2. Optimized the execution of numeric conversion functions.

  3. Optimized the execution of CU_Array_Subset.vi

  4. Significantly improved the performance of CU_Tensor_Create_Push.vi and CU_Tensor_Push.vi.

  5. Optimized the memory, context, and other resource management functionalities.

Other optimizations.


Bug Fixes

  1. Fixed input tensor types for T1D:DBL instance of CU_Inverse_Tangent_2_input.vi.

  2. The functionality of T4D instances of CU_Array_Subset.vi have been corrected.

  3. Fixed array max dimension (65535) issue in CU_Power_Spectrum.vi.

  4. CU_Decimate_Single_Shot.vi connector pane changed to match with LabVIEW Decimate Single Shot vi.

  5. Renamed the following functions to conform with the common naming conventions.

    1. From “CU_Square Root.vi” to “CU_Square_Root.vi

    2. From “CU_Add Array Elements.vi” to “CU_Add_Array_Elements.vi

  6. Fixed the bug of incorrect results in CU_Square.vi for complex inputs.

  7. Fixed the CPU memory leakage bug in CU_Tensor_Destroy.vi.

  8. Other minor fixes.

37 views0 comments

Recent Posts

See All

Comments

Rated 0 out of 5 stars.
No ratings yet

Add a rating

HAVE QUESTIONS?

bottom of page