Added default target and also front end and back end targets

This commit is contained in:
Mario Melara 2015-11-02 11:08:55 -08:00
parent eb2cf1698f
commit 058e72d29c

View file

@ -4,9 +4,9 @@
class Cray(Architecture): class Cray(Architecture):
priority = 20 priority = 20
front_end = None front_end = 'sandybridge'
back_end = None back_end = 'ivybridge'
default = None default = os.environ["CRAY_CPU_TARGET"]
def __init__(self): def __init__(self):
super(Cray, self).__init__('cray') super(Cray, self).__init__('cray')