Skip to content

Commit e80a636

Browse files
committed
Fixed typo
1 parent 5c63dd6 commit e80a636

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

benchmark/benchmark.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#include "benchmark.h"
22

3-
void load_imlpementation()
3+
void load_implementation()
44
{
55
imp.handle = dlopen(imp_path, RTLD_LAZY);
66
if (!imp.handle) {
@@ -356,7 +356,7 @@ uint64_t calculate_FLO(int test_id)
356356

357357
int main(int argc, char const *argv[])
358358
{
359-
load_imlpementation(&imp);
359+
load_implementation(&imp);
360360
load_strides();
361361
for (int test_id = 0; test_id < NUMBER_OF_TESTS; test_id++)
362362
{

test/demo_dynamic.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ void chained_same_op();
8888
void negative_str();
8989
void subtensors();
9090

91-
void load_imlpementation(struct imp* imp) {
91+
void load_implementation(struct imp* imp) {
9292
imp->handle = dlopen(path, RTLD_LAZY);
9393
if (!imp->handle) {
9494
fprintf(stderr, "dlopen failed: %s\n", dlerror());
@@ -135,7 +135,7 @@ void unload_implementation(struct imp* imp) {
135135
int main(int argc, char const *argv[])
136136
{
137137
struct imp imp;
138-
load_imlpementation(&imp);
138+
load_implementation(&imp);
139139

140140
printf("Contraction: \n");
141141
contraction(imp);

test/test_dynamic.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99
int main(int argc, char const *argv[])
1010
{
1111
struct imp impA;
12-
load_imlpementation(&impA, pathA);
12+
load_implementation(&impA, pathA);
1313
struct imp impB;
14-
load_imlpementation(&impB, pathB);
14+
load_implementation(&impB, pathB);
1515

1616
srand(time(NULL));
1717
std::cout << "Hadamard Product: " << str(test_hadamard_product(impA, impB)) << std::endl;
@@ -1786,7 +1786,7 @@ void add_idx(int* nmode, int64_t** idx, int64_t** extents, int64_t** strides, in
17861786
*strides = strides_tmp;
17871787
}
17881788

1789-
void load_imlpementation(struct imp* imp, const char* path) {
1789+
void load_implementation(struct imp* imp, const char* path) {
17901790
imp->handle = dlopen(path, RTLD_LAZY);
17911791
if (!imp->handle) {
17921792
fprintf(stderr, "dlopen failed: %s\n", dlerror());

test/test_dynamic.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ int64_t* calculate_strides(int nmode, int outer_nmode, int64_t* outer_extents, i
172172
int calculate_size(int nmode, int64_t* extents);
173173
void* calculate_tensor_pointer(void* pointer, int nmode, int64_t* extents, int64_t* offsets, int64_t* strides, unsigned long data_size);
174174

175-
void load_imlpementation(struct imp* imp, const char* path);
175+
void load_implementation(struct imp* imp, const char* path);
176176
void unload_implementation(struct imp* imp);
177177

178178
// Tests

0 commit comments

Comments
 (0)