mirror of
https://github.com/smyalygames/FiniteVolumeGPU.git
synced 2025-11-29 04:03:34 +01:00
9 lines
174 B
Python
9 lines
174 B
Python
from os import environ
|
|
|
|
__env_name = 'GPU_LANG'
|
|
|
|
if __env_name in environ and environ.get(__env_name).lower() == "cuda":
|
|
from .cuda import *
|
|
else:
|
|
from .hip import *
|