[CORE] Fixed several issues that arose in the development of the
torch-blocksparse package: * Now using warp shuffle in reductions when possible * Various bugfixes in layout inference * Added INFINITY, exponential and select * Better error messages for unimplemented constructs
This commit is contained in:
committed by
Philippe Tillet
parent
ac26fbdc1f
commit
3304629de9
@@ -64,7 +64,7 @@ constant *constant_fp::get_negative_zero(type *ty){
|
||||
|
||||
constant *constant_fp::get_zero_value_for_negation(type *ty) {
|
||||
if(ty->get_scalar_ty()->is_floating_point_ty())
|
||||
return get_negative_zero(ty);
|
||||
return constant_fp::get(ty, 0);
|
||||
return constant::get_null_value(ty);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user