Skip to content

Commit 8afe2b6

Browse files
Remove forceinline
1 parent 3f5bb2c commit 8afe2b6

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

cpp/src/io/orc/stripe_data.cu

+5-7
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ class run_cache_manager {
158158
*
159159
* @param[in] s ORC decoder state.
160160
*/
161-
__forceinline__ __device__ void initialize(orcdec_state_s* s)
161+
__device__ void initialize(orcdec_state_s* s)
162162
{
163163
_status = (s->top.data.index.run_pos[CI_DATA2] > 0 and s->chunk.type_kind == TIMESTAMP)
164164
? status::CAN_WRITE_TO_CACHE
@@ -175,7 +175,7 @@ class run_cache_manager {
175175
* @param[in] max_length The maximum length allowed to be consumed. This limit is imposed
176176
* by the decoder when processing the SECONDARY stream.
177177
*/
178-
__forceinline__ __device__ void set_reusable_length(uint32_t run_length, uint32_t max_length)
178+
__device__ void set_reusable_length(uint32_t run_length, uint32_t max_length)
179179
{
180180
if (_status == status::CAN_WRITE_TO_CACHE) {
181181
_run_length = run_length;
@@ -190,7 +190,7 @@ class run_cache_manager {
190190
* @param[in] max_length The maximum length allowed to be consumed.
191191
* @return A new maximum length.
192192
*/
193-
__forceinline__ __device__ uint32_t adjust_max_length(uint32_t max_length)
193+
__device__ uint32_t adjust_max_length(uint32_t max_length)
194194
{
195195
auto new_max_length{max_length};
196196
if (_status == status::CAN_READ_FROM_CACHE and _reusable_length > 0) {
@@ -205,7 +205,7 @@ class run_cache_manager {
205205
* @param[in] src Intermediate buffer for the DATA stream.
206206
* @param[out] cache Local variable serving as the cache.
207207
*/
208-
__forceinline__ __device__ void write_to_cache(int64_t* src, int64_t& cache)
208+
__device__ void write_to_cache(int64_t* src, int64_t& cache)
209209
{
210210
if (_status != status::CAN_WRITE_TO_CACHE) { return; }
211211

@@ -237,9 +237,7 @@ class run_cache_manager {
237237
* @param[in,out] rle Run length decoder state object.
238238
* @param[in] cache Local variable serving as the cache.
239239
*/
240-
__forceinline__ __device__ void read_from_cache(int64_t* dst,
241-
orc_rlev2_state_s* rle,
242-
int64_t cache)
240+
__device__ void read_from_cache(int64_t* dst, orc_rlev2_state_s* rle, int64_t cache)
243241
{
244242
if (_status != status::CAN_READ_FROM_CACHE) { return; }
245243

0 commit comments

Comments
 (0)