3
H4W^c  ã               @   s  d dl mZmZmZmZ d dlmZ d dlZd dlZd dl	Z	ej
e_eje_eje_eje_eje_eje_eje_eje_eje_e	jƒ dk�rdd„ Zejjejj ej!ƒddƒZ"ejjejj ejj ejj e#ƒƒƒd	ƒZ$ejje$d
ƒZ%e%e"eƒ ej&d gZ'dje'ƒej&d< dS )é    )Úabsolute_importÚdivisionÚprint_functionÚunicode_literals)Ú
caffe2_pb2NÚWindowsc              C   s0   t jddƒ} t jj| ƒr(t jj| ddƒS dS d S )NZNVTOOLSEXT_PATHz.C:\Program Files\NVIDIA Corporation\NvToolsExtÚbinZx64Ú )ÚosÚgetenvÚpathÚexistsÚjoin)ZNVTOOLEXT_HOME© r   ú7/tmp/pip-build-e66j97b2/torch/caffe2/python/__init__.pyÚget_nvToolsExt_path   s    r   ÚLibraryr   ZtorchÚlibÚPATHú;)(Ú
__future__r   r   r   r   Zcaffe2.protor   r
   ÚsysÚplatformZ	PROTO_CPUZCPUZ
PROTO_CUDAZCUDAZPROTO_MKLDNNZMKLDNNZPROTO_OPENGLZOPENGLZPROTO_OPENCLZOPENCLZPROTO_IDEEPZIDEEPZ	PROTO_HIPZHIPZ#PROTO_COMPILE_TIME_MAX_DEVICE_TYPESZCOMPILE_TIME_MAX_DEVICE_TYPESZPROTO_ONLY_FOR_TESTZONLY_FOR_TESTÚsystemr   r   r   ÚdirnameÚ
executableZpy_dll_pathÚ__file__Zth_rootZth_dll_pathÚenvironZ	dll_pathsr   r   r   r   Ú<module>   s(   &