Skip to content

Suggested modifications for Cleve Laboratory, a Matlab app package by Cleve Moler

License

Notifications You must be signed in to change notification settings

irieger/cleve-laboratory

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Extension for Cleve Laboratory

General notes

Original Cleve Laboratory information: https://de.mathworks.com/matlabcentral/fileexchange/59085-cleve-laboratory

This repository is intended to document a few changes to optimize performance and allow a few additional operations on fp16 half float datatype. It is mostly done as a reference to show Cleve the idea of the changes to maybe get some of them in the official Cleve Laboratory source.

What are the contents of this repository

This repo contains the content of the ~/Documents/MATLAB/Add-Ons/Apps/CleveLaboratory extended by the licence.txt from the installation zip and this readme file.

Changelog

Changes based on official release 3.60.0.0 (Uploaded 2018-06-11, downloaded 2018-09-10)

87ad90be - Add packed uint16 passing/readout
  • Add a function to get access to underlying uint16 structure storing the IEEE 754-2008 based binary half float representation allowing binary operations on the data.
  • Add fp16 constructor flag (string 'packed' or 'native' as the second argument besides initial values) to interpret uint16 data as already packed IEEE 754-2008 based binary half floats.
7a57438c - Optimize conversion function for massive speed increase
  • pack16/unpack16 working directly on matrices instead of using for loops leads to massive speed increase. On my development system speed up was in the range of 100-150 times for converting the peppers sample image to fp16.

About

Suggested modifications for Cleve Laboratory, a Matlab app package by Cleve Moler

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages