Skip to content

cal-poly-csc530-2214/superoptimizer-jlai12

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HW 1: Superoptimizer

1. Read through papers:

2. Aha experimentation

  • Using provided functions (abs, avg), experimented with the following:
    • different numbers of instructions
    • different immediate operand sets
    • more extensive trial input-output pairs

Average

Operations Solutions Total Instructions Process Time (seconds)
1-3 0 133, 36200, 8220022 ~0, 0.001, 0.154
4 3 31221243 75.880
5

Absolute Value

Operations Solutions Total Instructions Process Time (seconds)
1-2 0 103, 11695 ~0, ~0
3 4 1857560 0.041
4 951 571410152 11.962
5

3. Experementation with Jeremy Berchtold's GPU Google Colab

  • Experimentation with multBy7 functions
    • Tested (x<<3) - x implementation vs other fast and traditional implementation
    • Tested differences in inline functions

About

superoptimizer-jlai12 created by GitHub Classroom

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published