-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Release 2.3: see NEWS and Release files
- Loading branch information
Showing
16 changed files
with
1,475 additions
and
1,235 deletions.
There are no files selected for viewing
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
T=16 | ||
L=16 | ||
NrXProcs=1 |
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
/* $Id$ */ | ||
|
||
#include <stdlib.h> | ||
#include <stdio.h> | ||
#include <errno.h> | ||
#include "global.h" | ||
#include "su3.h" | ||
#include "sse.h" | ||
#include "init_gauge_tmp.h" | ||
|
||
su3 * gauge_tmp_ = NULL; | ||
su3 ** gauge_tmp = NULL; | ||
|
||
int init_gauge_tmp(const int V) { | ||
int i=0; | ||
|
||
gauge_tmp = calloc(V, sizeof(su3*)); | ||
if(errno == ENOMEM) { | ||
return(1); | ||
} | ||
gauge_tmp_ = calloc(4*V+1, sizeof(su3)); | ||
if(errno == ENOMEM) { | ||
return(1); | ||
} | ||
#if (defined SSE || defined SSE2 || defined SSE3) | ||
gauge_tmp[0] = (su3*)(((unsigned long int)(gauge_tmp_)+ALIGN_BASE)&~ALIGN_BASE); | ||
#else | ||
gauge_tmp[0] = gauge_tmp_; | ||
#endif | ||
for(i = 1; i < V; i++){ | ||
gauge_tmp[i] = gauge_tmp[i-1]+4; | ||
} | ||
return(0); | ||
} | ||
|
||
void free_gauge_tmp() { | ||
free(gauge_tmp_); | ||
free(gauge_tmp); | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
/* $Id$ */ | ||
#ifndef _INIT_GAUGE_TMP_H | ||
#define _INIT_GAUGE_TMP_H | ||
|
||
extern su3 ** gauge_tmp; | ||
|
||
int init_gauge_tmp(const int V); | ||
void free_gauge_tmp(); | ||
|
||
#endif |
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
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
Oops, something went wrong.