Merge pull request #143 from THU-DSP-LAB/fix-something
[ventus][NFC] Fix something wrong
This commit is contained in:
commit
64ebe150c6
|
@ -45,7 +45,7 @@ jobs:
|
|||
git clone https://github.com/OCL-dev/ocl-icd.git ${{github.workspace}}/../$OCL_ICD
|
||||
git clone https://github.com/THU-DSP-LAB/ventus-gpgpu-isa-simulator.git ${{github.workspace}}/../$ISA_SIMULATOR
|
||||
git clone https://github.com/THU-DSP-LAB/ventus-driver.git ${{github.workspace}}/../$VENTUS_DRIVER
|
||||
git clone https://github.com/Jules-Kong/gpu-rodinia.git ${{github.workspace}}/../$RODINIA
|
||||
git clone https://github.com/THU-DSP-LAB/gpu-rodinia.git ${{github.workspace}}/../$RODINIA
|
||||
export DRIVER_DIR=${{github.workspace}}/../$VENTUS_DRIVER
|
||||
export DRIVER_BUILD_DIR=${DRIVER_DIR}/build
|
||||
export VENTUS_INSTALL_PREFIX=${{github.workspace}}/install
|
||||
|
|
|
@ -73,7 +73,7 @@ fi
|
|||
check_if_program_exits $POCL_DIR "pocl"
|
||||
POCL_BUILD_DIR=${POCL_DIR}/build
|
||||
|
||||
# Get build type from env, otherwise use default value 'Debug'
|
||||
# Get build type from env, otherwise use default value 'Release'
|
||||
if [ -z "${BUILD_TYPE}" ]; then
|
||||
BUILD_TYPE=Release
|
||||
fi
|
||||
|
@ -99,7 +99,7 @@ if [ -z "${OCL_ICD_DIR}" ]; then
|
|||
OCL_ICD_DIR=${DIR}/../ocl-icd
|
||||
fi
|
||||
|
||||
check_if_program_exits ${OCL_ICD_DIR} "ocl icd"
|
||||
check_if_program_exits ${OCL_ICD_DIR} "ocl-icd"
|
||||
OCL_ICD_BUILD_DIR=${OCL_ICD_DIR}/build
|
||||
|
||||
# Need to get the gpu-rodinia folder from enviroment variables
|
||||
|
|
|
@ -43,7 +43,7 @@ _start:
|
|||
li t4, 0
|
||||
csrr t1, CSR_WID
|
||||
csrr t2, CSR_LDS
|
||||
li t3, 1024 # 1M size for single warp
|
||||
li t3, 1024 # 1k size for single warp
|
||||
mul t1, t1, t3 # sp wid * warp_size
|
||||
add sp, t1, t2 # sp points to baseaddr of local memory of each SM
|
||||
li tp, 0 # tp points to baseaddr for lower bound of private memory(1K) of each thread
|
||||
|
|
Loading…
Reference in New Issue