hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Teddy Choi (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-11533) Loop optimization for SIMD in Long*CompareLong*
Date Tue, 06 Oct 2015 03:13:26 GMT

     [ https://issues.apache.org/jira/browse/HIVE-11533?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Teddy Choi updated HIVE-11533:
------------------------------
    Description: 
Long*CompareLong* classes can be optimized with subtraction and bitwise operators for better
SIMD optimization.

{code}
for(int i = 0; i != n; i++) {
  outputVector[i] = vector1[0] > vector2[i] ? 1 : 0;
}
{code}

This issue will cover following classes;
- LongColEqualLongColumn
- LongColNotEqualLongColumn
- LongColGreaterLongColumn
- LongColGreaterEqualLongColumn
- LongColLessLongColumn
- LongColLessEqualLongColumn
- LongScalarEqualLongColumn
- LongScalarNotEqualLongColumn
- LongScalarGreaterLongColumn
- LongScalarGreaterEqualLongColumn
- LongScalarLessLongColumn
- LongScalarLessEqualLongColumn
- LongColEqualLongScalar
- LongColNotLongScalar
- LongColGreaterLongScalar
- LongColGreaterEqualLongScalar
- LongColLessLongScalar
- LongColLessEqualLongScalar

  was:
Long*CompareLong* classes can be optimized with subtraction and bitwise operators for better
SIMD optimization.

{code}
for(int i = 0; i != n; i++) {
  outputVector[i] = vector1[0] > vector2[i] ? 1 : 0;
}
{code}

This issue will cover following classes;
- LongColEqualLongColumn
- LongColGreaterLongColumn
- LongColGreaterEqualLongColumn
- LongColLessLongColumn
- LongColLessEqualLongColumn
- LongScalarEqualLongColumn
- LongScalarGreaterLongColumn
- LongScalarGreaterEqualLongColumn
- LongScalarLessLongColumn
- LongScalarLessEqualLongColumn
- LongColEqualLongScalar
- LongColGreaterLongScalar
- LongColGreaterEqualLongScalar
- LongColLessLongScalar
- LongColLessEqualLongScalar


> Loop optimization for SIMD in Long*CompareLong*
> -----------------------------------------------
>
>                 Key: HIVE-11533
>                 URL: https://issues.apache.org/jira/browse/HIVE-11533
>             Project: Hive
>          Issue Type: Sub-task
>          Components: Vectorization
>            Reporter: Teddy Choi
>            Assignee: Teddy Choi
>            Priority: Minor
>         Attachments: HIVE-11533.1.patch, HIVE-11533.2.patch, HIVE-11533.3.patch
>
>
> Long*CompareLong* classes can be optimized with subtraction and bitwise operators for
better SIMD optimization.
> {code}
> for(int i = 0; i != n; i++) {
>   outputVector[i] = vector1[0] > vector2[i] ? 1 : 0;
> }
> {code}
> This issue will cover following classes;
> - LongColEqualLongColumn
> - LongColNotEqualLongColumn
> - LongColGreaterLongColumn
> - LongColGreaterEqualLongColumn
> - LongColLessLongColumn
> - LongColLessEqualLongColumn
> - LongScalarEqualLongColumn
> - LongScalarNotEqualLongColumn
> - LongScalarGreaterLongColumn
> - LongScalarGreaterEqualLongColumn
> - LongScalarLessLongColumn
> - LongScalarLessEqualLongColumn
> - LongColEqualLongScalar
> - LongColNotLongScalar
> - LongColGreaterLongScalar
> - LongColGreaterEqualLongScalar
> - LongColLessLongScalar
> - LongColLessEqualLongScalar



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message