Skip to content

Commit eaf85e4

Browse files
committed
Add back deleted error return.
Signed-off-by: JackAKirk <jack.kirk@codeplay.com>
1 parent 8718f31 commit eaf85e4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

source/adapters/cuda/image.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -317,6 +317,7 @@ ur_result_t urTextureCreate(ur_sampler_handle_t hSampler,
317317
setErrorMessage("The " UR_EXP_SAMPLER_CUBEMAP_FILTER_MODE_SEAMLESS
318318
" feature requires cuda 11.6 or later.",
319319
UR_RESULT_ERROR_ADAPTER_SPECIFIC);
320+
return UR_RESULT_ERROR_ADAPTER_SPECIFIC;
320321
#endif
321322
}
322323

0 commit comments

Comments
 (0)