Commit bbdea3c6 authored by Richard Angersbach's avatar Richard Angersbach
Browse files

Use noVect parallelization hint instead of CUDA_LOOP annotation.

parent fd4b5e62
......@@ -83,10 +83,10 @@ case class CUDA_HandleFragmentLoopsWithReduction(
def initCopies() = {
val declCopies = IR_VariableDeclaration(copies)
val initCopies = IR_LoopOverFragments(
copyReductionTarget())
copyReductionTarget()).expandSpecial().inner
val resetRedTarget = resetReductionTarget() // reset initial value as it is already in the copies
initCopies.annotate(CUDA_Util.CUDA_LOOP_ANNOTATION)
initCopies.parallelization.noVect = true
ListBuffer(
declCopies,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment