File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed
third_party/nvidia/lib/TritonNVIDIAGPUToLLVM Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -1082,10 +1082,13 @@ struct AsyncTMACopyGlobalToLocalOpConversion
10821082 matchAndRewrite (triton::nvidia_gpu::AsyncTMACopyGlobalToLocalOp op,
10831083 OpAdaptor adaptor,
10841084 ConversionPatternRewriter &rewriter) const override {
1085- assert (op.getCache () == triton::CacheModifier::NONE &&
1086- " cache modifiers not supported yet." );
1087- assert (op.getEvict () == triton::EvictionPolicy::NORMAL &&
1088- " eviction policy not supported yet." );
1085+ if (op.getCache () != triton::CacheModifier::NONE)
1086+ return op.emitError (" cache modifiers not supported yet" );
1087+ if (op.getEvict () != triton::EvictionPolicy::NORMAL)
1088+ return op.emitError (" eviction policy not supported yet" );
1089+ if (op.getIsVolatile ())
1090+ return op.emitError (" volatile not supported yet" );
1091+
10891092 auto loc = op.getLoc ();
10901093 Type llvmElemTy =
10911094 typeConverter->convertType (op.getResult ().getType ().getElementType ());
You can’t perform that action at this time.
0 commit comments