This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
HA5 ReadMe File | |
Group: 44 | |
Students: Julio Sandino, Axel Garcia, Walter Condori | |
The program runs the function "matmul" with matrix A and B. | |
Then it runs "tmatmul" with matrix A and the transpose of B. | |
Then it runs "tilingmatmul" with Matrix A and B, with tile size of 4. | |
The program prints the time for all of them sequentially. | |
It also checks that all of the Output Matrices are the same. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <string.h> | |
#include <stdio.h> | |
#include <unistd.h> | |
#include <time.h> | |
#include <stdlib.h> | |
#define SIZE 1024 | |
volatile __uint64_t A[SIZE][SIZE]; | |
volatile __uint64_t B[SIZE][SIZE]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdlib.h> | |
#include "List.h" | |
// structs -------------------------------------------------------------------- | |
// private NodeObj type | |
typedef struct NodeObj { | |
int data; | |
struct NodeObj* next; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <string> | |
#include <iomanip> | |
using std::cout; | |
using std::string; | |
const string silver = "silver"; | |
const string gold = "gold"; | |
const string platinum = "platinum"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class Loops{ | |
public static void main(String[] args){ | |
Scanner in = new Scanner(System.in); | |
int rows = 0; | |
System.out.print("Chose a number: "); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package sandino.julio; | |
import turtleClasses.ModelDisplay; | |
import turtleClasses.Turtle; | |
import turtleClasses.World; | |
import java.awt.*; | |
public class Main extends Turtle{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
["Life isn’t about getting and having, it’s about giving and being.", "Kevin Kruse"], | |
["Whatever the mind of man can conceive and believe, it can achieve.", "Napoleon Hill"], | |
["Strive not to be a success, but rather to be of value.", "Albert Einstein"], | |
["Two roads diverged in a wood, and I—I took the one less traveled by, And that has made all the difference.", "Robert Frost"], | |
["I attribute my success to this: I never gave or took any excuse.", "Florence Nightingale"], | |
["You miss 100% of the shots you don’t take.", "Wayne Gretzky"], | |
["I’ve missed more than 9000 shots in my career. I’ve lost almost 300 games. 26 times I’ve been trusted to take the game winning shot and missed. I’ve failed over and over and over again in my life. And that is why I succeed.", "Michael Jordan"], | |
["The most difficult thing is the decision to act, the rest is merely tenacity.", "Amelia Earhart"], | |
["Every strike brings me closer to the next home run.", "Babe Ruth"], |